org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.analysis
Class NSHMP_FileWriter

java.lang.Object
  extended by org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.analysis.NSHMP_FileWriter

public class NSHMP_FileWriter
extends java.lang.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

Constructor Summary
NSHMP_FileWriter()
           
NSHMP_FileWriter(UCERF2 ucerf2)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void writeNSHMP_SrcFiles(java.lang.String dirName)
          Make Source files for NSHMP It makes separate file for each fault for each run.
 void writeNSHMP_SrcFilesForDefModel(java.lang.String dirName, java.lang.String defModelName)
          Make Source files for NSHMP for a particular deformation model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NSHMP_FileWriter

public NSHMP_FileWriter()

NSHMP_FileWriter

public NSHMP_FileWriter(UCERF2 ucerf2)
Method Detail

writeNSHMP_SrcFiles

public void writeNSHMP_SrcFiles(java.lang.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(java.lang.String dirName,
                                           java.lang.String defModelName)
Make Source files for NSHMP for a particular deformation model


main

public static void main(java.lang.String[] args)