public class FPinfo
extends java.lang.Object
This class is immutable
コンストラクタと説明 |
---|
FPinfo(GlobalCMTData event,
java.lang.String outputDir,
PolynomialStructure structure,
double tlen,
int np,
double[] perturbationPointR,
HorizontalPosition[] perturbationPoint) |
修飾子とタイプ | メソッドと説明 |
---|---|
double |
getArtificialDamp() |
int |
getImax() |
int |
getImin() |
int |
getNp() |
java.lang.String |
getOutputDir() |
double[] |
getPerturbationPointDepth() |
double |
getRatc() |
double |
getRatl() |
double |
getRe() |
PolynomialStructure |
getStructure() |
double |
getTlen() |
protected java.lang.String[] |
outputDSMHeader() |
void |
writePSVFP(java.nio.file.Path outPath,
java.nio.file.OpenOption... options)
Write an information file for psvfp
|
void |
writeSHFP(java.nio.file.Path outPath,
java.nio.file.OpenOption... options)
Write an information file for shfp.
|
public FPinfo(GlobalCMTData event, java.lang.String outputDir, PolynomialStructure structure, double tlen, int np, double[] perturbationPointR, HorizontalPosition[] perturbationPoint)
event
- sourceoutputDir
- write folderstructure
- structuretlen
- must be a power of 2 (2n)/10np
- must be a power of 2 (2n)perturbationPointR
- will be copiedperturbationPoint
- will be copiedpublic void writeSHFP(java.nio.file.Path outPath, java.nio.file.OpenOption... options) throws java.io.IOException
outPath
- Path for the fileoptions
- for opening the filejava.io.IOException
- If an I/O error happenspublic void writePSVFP(java.nio.file.Path outPath, java.nio.file.OpenOption... options) throws java.io.IOException
outPath
- Path for the fileoptions
- for opening the filejava.io.IOException
- If an I/O error happenspublic java.lang.String getOutputDir()
public double[] getPerturbationPointDepth()
public PolynomialStructure getStructure()
public double getTlen()
public int getNp()
public int getImin()
public int getImax()
public double getRe()
public double getRatc()
public double getRatl()
public double getArtificialDamp()
protected java.lang.String[] outputDSMHeader()