org.opensha.gem.GEM1.calc.gemModelParsers.nshmp
Class NshmpFault2GemSourceData

java.lang.Object
  extended by org.opensha.gem.GEM1.calc.gemModelParsers.GemFileParser
      extended by org.opensha.gem.GEM1.calc.gemModelParsers.nshmp.NshmpFault2GemSourceData

public class NshmpFault2GemSourceData
extends GemFileParser

This class reads a NSHMP fault input file and returns a list of GEMFaultSourceData. The user must provide the file name, the tectonic region, and the file weight (as derived by the logic tree)

Author:
damianomonelli

Field Summary
 
Fields inherited from class org.opensha.gem.GEM1.calc.gemModelParsers.GemFileParser
srcDataList
 
Constructor Summary
NshmpFault2GemSourceData(java.lang.String inputfile, TectonicRegionType trt, double fileWeight, double latmin, double latmax, double lonmin, double lonmax)
           
 
Method Summary
 
Methods inherited from class org.opensha.gem.GEM1.calc.gemModelParsers.GemFileParser
getAreaSourceList, getFaultSourceList, getList, getNumSources, getPointSourceList, getSubductionFaultSourceList, setList, writeAreaGMTfile, writeAreaKMLfile, writeFaultGMTfile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NshmpFault2GemSourceData

public NshmpFault2GemSourceData(java.lang.String inputfile,
                                TectonicRegionType trt,
                                double fileWeight,
                                double latmin,
                                double latmax,
                                double lonmin,
                                double lonmax)
                         throws java.io.FileNotFoundException
Parameters:
inputfile: - name of the file containing input fault model
trt: - tectonic region
fileWeight: - weight of the fault model in the logic tree
Throws:
java.io.FileNotFoundException