org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.analysis
Class NSHMP_FileWriter
java.lang.Object
org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.analysis.NSHMP_FileWriter
public class NSHMP_FileWriter
- extends Object
Write the files to be used by NSHMP.
It creates an instance of UCERF2 and generates a bunch of files that are sent to Golden
for NSHMP. The method writeNSHMP_SrcFiles() accepts a directory name where all the files
are generated.
- Author:
- vipingupta
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NSHMP_FileWriter
public NSHMP_FileWriter()
NSHMP_FileWriter
public NSHMP_FileWriter(UCERF2 ucerf2)
writeNSHMP_SrcFiles
public void writeNSHMP_SrcFiles(String dirName)
- Make Source files for NSHMP
It makes separate file for each fault for each run.
There are 4 runs.
writeNSHMP_SrcFilesForDefModel
public void writeNSHMP_SrcFilesForDefModel(String dirName,
String defModelName)
- Make Source files for NSHMP for a particular deformation model
main
public static void main(String[] args)