|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.earthquake.AbstractEpistemicListERF
org.opensha.sha.earthquake.rupForecastImpl.WG02.WG02_FortranWrappedERF_EpistemicList
public class WG02_FortranWrappedERF_EpistemicList
Title: WG02_FortranWrappedERF_EpistemicList
Description: Working Group 2002 Epistemic List of ERFs. This class reads a single file and constructs the forecasts.
Copyright: Copyright (c) 2002
Company:
| Field Summary | |
|---|---|
static String |
BACK_SEIS_NAME
|
protected String |
backSeis
|
protected double |
deltaMag
|
static String |
GR_TAIL_NAME
|
protected double |
gridSpacing
|
protected String |
grTail
|
static String |
INPUT_FILE_NAME_1
|
static String |
INPUT_FILE_NAME_2
|
protected List<String> |
inputFileLines
|
protected ArrayList |
iterationLineNumbers
|
static String |
NAME
|
protected int |
numIterations
|
protected double |
rupOffset
|
static String |
SEIS_EXCLUDE
|
static String |
SEIS_INCLUDE
|
static String |
WG02_DIRS
|
| Fields inherited from class org.opensha.sha.earthquake.AbstractEpistemicListERF |
|---|
adjustableParams, erf_List, parameterChangeFlag, timeSpan, XML_METADATA_NAME |
| Constructor Summary | |
|---|---|
WG02_FortranWrappedERF_EpistemicList()
No argument constructor |
|
| Method Summary | |
|---|---|
protected ArrayList |
getDataForERF(int index)
gets the data for the ERF at specified index |
double |
getERF_RelativeWeight(int index)
get the weight of the ERF at the specified index |
ERF |
getERF(int index)
get the ERF in the list with the specified index |
String |
getName()
Return the name for this class |
int |
getNumERFs()
get the number of Eqk Rup Forecasts in this list |
ArrayList |
getRelativeWeightsList()
Return the vector containing the Double values with relative weights for each ERF |
static void |
main(String[] args)
|
static List<String> |
runFortranCode(ParameterList params,
TimeSpan timeSpan)
|
void |
updateForecast()
update the forecast |
| Methods inherited from class org.opensha.sha.earthquake.AbstractEpistemicListERF |
|---|
addERF, compareTo, fromXMLMetadata, getAdjustableParameterList, getAdjustableParamsIterator, getApplicableRegion, getIncludedTectonicRegionTypes, getParameter, getTimeSpan, parameterChange, setParameter, setParameterChangeFlag, setTimeSpan, timeSpanChange, toXMLMetadata, toXMLMetadata, updateAndSaveForecast |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
public static final String INPUT_FILE_NAME_1
public static final String INPUT_FILE_NAME_2
public static final String WG02_DIRS
protected ArrayList iterationLineNumbers
protected int numIterations
protected double rupOffset
protected double deltaMag
protected double gridSpacing
protected String backSeis
protected String grTail
protected List<String> inputFileLines
public static final String BACK_SEIS_NAME
public static final String GR_TAIL_NAME
public static final String SEIS_INCLUDE
public static final String SEIS_EXCLUDE
| Constructor Detail |
|---|
public WG02_FortranWrappedERF_EpistemicList()
| Method Detail |
|---|
public static List<String> runFortranCode(ParameterList params,
TimeSpan timeSpan)
public String getName()
getName in interface NamedgetName in class AbstractEpistemicListERFpublic void updateForecast()
updateForecast in interface BaseERFupdateForecast in class AbstractEpistemicListERFpublic int getNumERFs()
getNumERFs in interface EpistemicListERFgetNumERFs in class AbstractEpistemicListERFpublic ERF getERF(int index)
getERF in interface EpistemicListERFgetERF in class AbstractEpistemicListERFindex - : index of Eqk rup forecast to return
protected ArrayList getDataForERF(int index)
index - : index of the data that needs to be read from the file
public double getERF_RelativeWeight(int index)
getERF_RelativeWeight in interface EpistemicListERFgetERF_RelativeWeight in class AbstractEpistemicListERFindex - : index of ERF
public ArrayList getRelativeWeightsList()
getRelativeWeightsList in interface EpistemicListERFgetRelativeWeightsList in class AbstractEpistemicListERFpublic static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||