org.opensha.sha.earthquake.rupForecastImpl
Class FloatingPoissonFaultERF

java.lang.Object
  extended by org.opensha.sha.earthquake.AbstractERF
      extended by org.opensha.sha.earthquake.rupForecastImpl.FloatingPoissonFaultERF
All Implemented Interfaces:
Serializable, Comparable<BaseERF>, Iterable<ProbEqkSource>, EventListener, Named, XMLSaveable, ParameterChangeListener, TimeSpanChangeListener, BaseERF, ERF

public class FloatingPoissonFaultERF
extends AbstractERF

Title: FloatingPoissonFaultERF

Description: T

Version:
1.0
Author:
Ned Field Date : Oct 24 , 2002
See Also:
Serialized Form

Field Summary
static String ASPECT_RATIO_PARAM_NAME
           
static String FAULT_PARAM_NAME
           
static String FLOATER_TYPE_ALONG_STRIKE_AND_DOWNDIP
           
static String FLOATER_TYPE_CENTERED_DOWNDIP
           
static String FLOATER_TYPE_FULL_DDW
           
static String FLOATER_TYPE_PARAM_DEFAULT
           
static String FLOATER_TYPE_PARAM_NAME
           
static String MAG_DIST_PARAM_NAME
           
static String MAG_SCALING_REL_PARAM_NAME
           
static String MAX_FLOAT_MAG_PARAM_NAME
           
static String MIN_MAG_PARAM_NAME
           
static String NAME
           
static String OFFSET_PARAM_NAME
           
static String RAKE_PARAM_NAME
           
static String SIGMA_PARAM_NAME
           
 
Fields inherited from class org.opensha.sha.earthquake.AbstractERF
adjustableParams, nthRupIndicesForSource, parameterChangeFlag, rupIndexForNthRup, srcIndexForNthRup, timeSpan, totNumRups, XML_METADATA_NAME
 
Constructor Summary
FloatingPoissonFaultERF()
          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, 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

NAME

public static final String NAME
See Also:
Constant Field Values

MAG_DIST_PARAM_NAME

public static final String MAG_DIST_PARAM_NAME
See Also:
Constant Field Values

FAULT_PARAM_NAME

public static final String FAULT_PARAM_NAME
See Also:
Constant Field Values

OFFSET_PARAM_NAME

public static final String OFFSET_PARAM_NAME
See Also:
Constant Field Values

MAG_SCALING_REL_PARAM_NAME

public static final String MAG_SCALING_REL_PARAM_NAME
See Also:
Constant Field Values

SIGMA_PARAM_NAME

public static final String SIGMA_PARAM_NAME
See Also:
Constant Field Values

ASPECT_RATIO_PARAM_NAME

public static final String ASPECT_RATIO_PARAM_NAME
See Also:
Constant Field Values

RAKE_PARAM_NAME

public static final String RAKE_PARAM_NAME
See Also:
Constant Field Values

MIN_MAG_PARAM_NAME

public static final String MIN_MAG_PARAM_NAME
See Also:
Constant Field Values

FLOATER_TYPE_PARAM_NAME

public static final String FLOATER_TYPE_PARAM_NAME
See Also:
Constant Field Values

FLOATER_TYPE_FULL_DDW

public static final String FLOATER_TYPE_FULL_DDW
See Also:
Constant Field Values

FLOATER_TYPE_ALONG_STRIKE_AND_DOWNDIP

public static final String FLOATER_TYPE_ALONG_STRIKE_AND_DOWNDIP
See Also:
Constant Field Values

FLOATER_TYPE_CENTERED_DOWNDIP

public static final String FLOATER_TYPE_CENTERED_DOWNDIP
See Also:
Constant Field Values

FLOATER_TYPE_PARAM_DEFAULT

public static final String FLOATER_TYPE_PARAM_DEFAULT
See Also:
Constant Field Values

MAX_FLOAT_MAG_PARAM_NAME

public static final String MAX_FLOAT_MAG_PARAM_NAME
See Also:
Constant Field Values
Constructor Detail

FloatingPoissonFaultERF

public FloatingPoissonFaultERF()
Constructor for this source (no arguments)

Method Detail

updateForecast

public void updateForecast()
update the source based on the paramters (only if a parameter value has changed)


getSource

public ProbEqkSource getSource(int iSource)
Return the earhthquake source at index i. Note that this returns a pointer to the source held internally, so that if any parameters are changed, and this method is called again, the source obtained by any previous call to this method will no longer be valid.

Parameters:
iSource - : index of the desired source (only "0" allowed here).
Returns:
Returns the ProbEqkSource at index i

getNumSources

public int getNumSources()
Returns the number of earthquake sources (always "1" here)

Returns:
integer value specifying the number of earthquake sources

getSourceList

public ArrayList getSourceList()
This returns a list of sources (contains only one here)

Specified by:
getSourceList in interface ERF
Overrides:
getSourceList in class AbstractERF
Returns:
ArrayList of Prob Earthquake sources

getName

public String getName()
Return the name for this class

Returns:
: return the name for this class