|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.earthquake.AbstractERF
org.opensha.sha.earthquake.rupForecastImpl.PointSourceERF
public class PointSourceERF
Title: PointPoissonERF
Description: This ERF creates a single point source with a single rupture for the following user-defined parameters:
The source is non-Poissonain.
| Field Summary | |
|---|---|
static String |
DIP_PARAM_NAME
|
static String |
MAG_PARAM_NAME
|
static String |
NAME
|
static String |
PROB_PARAM_NAME
|
static String |
RAKE_PARAM_NAME
|
static String |
SRC_DEPTH_PARAM_NAME
|
static String |
SRC_LAT_PARAM_NAME
|
static String |
SRC_LON_PARAM_NAME
|
| Fields inherited from class org.opensha.sha.earthquake.AbstractERF |
|---|
adjustableParams, parameterChangeFlag, timeSpan, XML_METADATA_NAME |
| Constructor Summary | |
|---|---|
PointSourceERF()
Constructor for this source (no arguments) |
|
| Method Summary | |
|---|---|
String |
getName()
Return the name for this class |
int |
getNumSources()
Returns the number of earthquake sources (always "1" here) |
ProbEqkSource |
getSource(int iSource)
Return the earhthquake source at index i. |
ArrayList |
getSourceList()
This returns a list of sources (contains only one here) |
void |
updateForecast()
update the source based on the paramters (only if a parameter value has changed) |
| Methods inherited from class org.opensha.sha.earthquake.AbstractERF |
|---|
baseERF_FromXML, baseERF_ToXML, compareTo, drawRandomEventSet, fromXMLMetadata, getAdjustableParameterList, getApplicableRegion, getIncludedTectonicRegionTypes, getNumRuptures, getParameter, getRupture, getRuptureClone, getSourceClone, getTimeSpan, iterator, parameterChange, setParameter, setParameterChangeFlag, setTimeSpan, timeSpanChange, 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 MAG_PARAM_NAME
public static final String PROB_PARAM_NAME
public static final String RAKE_PARAM_NAME
public static final String DIP_PARAM_NAME
public static final String SRC_LAT_PARAM_NAME
public static final String SRC_LON_PARAM_NAME
public static final String SRC_DEPTH_PARAM_NAME
| Constructor Detail |
|---|
public PointSourceERF()
| Method Detail |
|---|
public void updateForecast()
public ProbEqkSource getSource(int iSource)
iSource - : index of the desired source (only "0" allowed here).
public int getNumSources()
public ArrayList getSourceList()
getSourceList in interface ERFgetSourceList in class AbstractERFpublic String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||