org.opensha.gem.GEM1.calc.gemHazardCalculator
Class GemComputeModel

java.lang.Object
  extended by org.opensha.gem.GEM1.calc.gemHazardCalculator.GemComputeModel

public class GemComputeModel
extends Object


Constructor Summary
GemComputeModel(ArrayList<GEMSourceData> srcList, String modelName, GemLogicTree<HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree, ArrayList<Site> hazSite, double[] probLevel, String outDir, boolean outputHazCurve, CalculationSettings calcSet)
           
GemComputeModel(ArrayList<GEMSourceData> srcList, String modelName, GemLogicTree<HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree, double latmin, double latmax, double lonmin, double lonmax, double delta, double[] probLevel, String outDir, boolean outputHazCurve, CalculationSettings calcSet)
           
GemComputeModel(GemLogicTree<ArrayList<GEMSourceData>> modelLogicTree, GemLogicTree<HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree, ArrayList<Site> hazSite, double[] probLevel, String outDir, boolean outputHazCurve, CalculationSettings calcSet)
           
GemComputeModel(String gemLogicTreeFile, GemLogicTree<HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree, double latmin, double latmax, double lonmin, double lonmax, double delta, double[] probLevel, String outDir, boolean outputHazCurve, CalculationSettings calcSet)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GemComputeModel

public GemComputeModel(GemLogicTree<ArrayList<GEMSourceData>> modelLogicTree,
                       GemLogicTree<HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree,
                       ArrayList<Site> hazSite,
                       double[] probLevel,
                       String outDir,
                       boolean outputHazCurve,
                       CalculationSettings calcSet)
                throws IOException
Parameters:
inputToErf: - GemLogicTree for input model
gmpeLT: - GemLogicTree for gmpes
hazSite: - list of sites where to compute hazard
probLevel: - probability level for hazard map
outDir -
outputHazCurve -
calcSet -
Throws:
IOException

GemComputeModel

public GemComputeModel(String gemLogicTreeFile,
                       GemLogicTree<HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree,
                       double latmin,
                       double latmax,
                       double lonmin,
                       double lonmax,
                       double delta,
                       double[] probLevel,
                       String outDir,
                       boolean outputHazCurve,
                       CalculationSettings calcSet)
                throws IOException,
                       ClassNotFoundException
Parameters:
gemLogicTreeFile: - file containing GemLogicTree object representing input model
gmpeLT: - GemLogicTree object for gmpes
latmin: - minimum latitude of rectangular region
latmax: - maximum latitude of rectangular region
lonmin: - minimum longitude of rectangular region
lonmax: - maximum longitude of rectangular region
delta: - discretization of rectangular region
probLevel: - probability level for hazard map
outDir: - output directory where store results
outputHazCurve: - true if you want to print also hazard curves
calculation - settings
Throws:
ClassNotFoundException
IOException

GemComputeModel

public GemComputeModel(ArrayList<GEMSourceData> srcList,
                       String modelName,
                       GemLogicTree<HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree,
                       double latmin,
                       double latmax,
                       double lonmin,
                       double lonmax,
                       double delta,
                       double[] probLevel,
                       String outDir,
                       boolean outputHazCurve,
                       CalculationSettings calcSet)
                throws IOException
Parameters:
srcList -
modelName -
gmpeLogicTree -
latmin -
latmax -
lonmin -
lonmax -
delta -
probLevel -
outDir -
outputHazCurve -
calcSet -
Throws:
IOException

GemComputeModel

public GemComputeModel(ArrayList<GEMSourceData> srcList,
                       String modelName,
                       GemLogicTree<HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree,
                       ArrayList<Site> hazSite,
                       double[] probLevel,
                       String outDir,
                       boolean outputHazCurve,
                       CalculationSettings calcSet)
                throws IOException
Parameters:
srcList -
modelName -
gmpeLogicTree -
hazSite -
probLevel -
outDir -
outputHazCurve -
calcSet -
Throws:
IOException