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

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

public class GemComputeModel
extends java.lang.Object


Constructor Summary
GemComputeModel(java.util.ArrayList<GEMSourceData> srcList, java.lang.String modelName, GemLogicTree<java.util.HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree, java.util.ArrayList<Site> hazSite, double[] probLevel, java.lang.String outDir, boolean outputHazCurve, CalculationSettings calcSet)
           
GemComputeModel(java.util.ArrayList<GEMSourceData> srcList, java.lang.String modelName, GemLogicTree<java.util.HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree, double latmin, double latmax, double lonmin, double lonmax, double delta, double[] probLevel, java.lang.String outDir, boolean outputHazCurve, CalculationSettings calcSet)
           
GemComputeModel(GemLogicTree<java.util.ArrayList<GEMSourceData>> modelLogicTree, GemLogicTree<java.util.HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree, java.util.ArrayList<Site> hazSite, double[] probLevel, java.lang.String outDir, boolean outputHazCurve, CalculationSettings calcSet)
           
GemComputeModel(java.lang.String gemLogicTreeFile, GemLogicTree<java.util.HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree, double latmin, double latmax, double lonmin, double lonmax, double delta, double[] probLevel, java.lang.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<java.util.ArrayList<GEMSourceData>> modelLogicTree,
                       GemLogicTree<java.util.HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree,
                       java.util.ArrayList<Site> hazSite,
                       double[] probLevel,
                       java.lang.String outDir,
                       boolean outputHazCurve,
                       CalculationSettings calcSet)
                throws java.io.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:
java.io.IOException

GemComputeModel

public GemComputeModel(java.lang.String gemLogicTreeFile,
                       GemLogicTree<java.util.HashMap<TectonicRegionType,ScalarIMR>> gmpeLogicTree,
                       double latmin,
                       double latmax,
                       double lonmin,
                       double lonmax,
                       double delta,
                       double[] probLevel,
                       java.lang.String outDir,
                       boolean outputHazCurve,
                       CalculationSettings calcSet)
                throws java.io.IOException,
                       java.lang.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:
java.lang.ClassNotFoundException
java.io.IOException

GemComputeModel

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

GemComputeModel

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