org.opensha.sha.earthquake.rupForecastImpl.PEER_TestCases
Class PEER_LogicTreeERF_List

java.lang.Object
  extended by org.opensha.sha.earthquake.AbstractEpistemicListERF
      extended by org.opensha.sha.earthquake.rupForecastImpl.PEER_TestCases.PEER_LogicTreeERF_List
All Implemented Interfaces:
Serializable, Comparable<BaseERF>, EventListener, Named, XMLSaveable, ParameterChangeListener, TimeSpanChangeListener, BaseERF, EpistemicListERF

public class PEER_LogicTreeERF_List
extends AbstractEpistemicListERF

Title: PEER_LogicTreeERF_List

Description: This class is needed for Logic Tree for Set 2 Case 5

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
unascribed
See Also:
Serialized Form

Field Summary
static String C
           
 Double DEFAULT_SIGMA_VAL
           
static String FAULT_MODEL_FRANKEL
           
static String FAULT_MODEL_NAME
           
static String FAULT_MODEL_STIRLING
           
protected  StringParameter faultModelParam
           
static String GRID_PARAM_NAME
           
static String GRID_PARAM_UNITS
           
protected  DoubleParameter gridParam
           
protected  DoubleParameter lengthSigmaParam
           
static String NAME
           
static String OFFSET_PARAM_NAME
           
static String OFFSET_PARAM_UNITS
           
protected  DoubleParameter offsetParam
           
static String SIGMA_PARAM_NAME
           
 
Fields inherited from class org.opensha.sha.earthquake.AbstractEpistemicListERF
adjustableParams, erf_List, parameterChangeFlag, timeSpan, XML_METADATA_NAME
 
Constructor Summary
PEER_LogicTreeERF_List()
          default constructor for this class
 
Method Summary
protected  AbstractERF createERF(String segmentation, double slipRate, double magUpper)
          this method will create the instance of the non-planar fault based on the provided segmentation, slip rate and mag upper
 String getName()
          Return the name for this class
 void updateForecast()
          Update the EqkRupForecasts with the new set of parameters
 
Methods inherited from class org.opensha.sha.earthquake.AbstractEpistemicListERF
addERF, compareTo, fromXMLMetadata, getAdjustableParameterList, getAdjustableParamsIterator, getApplicableRegion, getERF_RelativeWeight, getERF, getIncludedTectonicRegionTypes, getNumERFs, getParameter, getRelativeWeightsList, 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

C

public static String C

NAME

public static String NAME

GRID_PARAM_NAME

public static final String GRID_PARAM_NAME
See Also:
Constant Field Values

GRID_PARAM_UNITS

public static final String GRID_PARAM_UNITS
See Also:
Constant Field Values

OFFSET_PARAM_NAME

public static final String OFFSET_PARAM_NAME
See Also:
Constant Field Values

OFFSET_PARAM_UNITS

public static final String OFFSET_PARAM_UNITS
See Also:
Constant Field Values

SIGMA_PARAM_NAME

public static final String SIGMA_PARAM_NAME
See Also:
Constant Field Values

DEFAULT_SIGMA_VAL

public Double DEFAULT_SIGMA_VAL

FAULT_MODEL_NAME

public static final String FAULT_MODEL_NAME

FAULT_MODEL_FRANKEL

public static final String FAULT_MODEL_FRANKEL

FAULT_MODEL_STIRLING

public static final String FAULT_MODEL_STIRLING

gridParam

protected DoubleParameter gridParam

offsetParam

protected DoubleParameter offsetParam

lengthSigmaParam

protected DoubleParameter lengthSigmaParam

faultModelParam

protected StringParameter faultModelParam
Constructor Detail

PEER_LogicTreeERF_List

public PEER_LogicTreeERF_List()
default constructor for this class

Method Detail

createERF

protected AbstractERF createERF(String segmentation,
                                double slipRate,
                                double magUpper)
this method will create the instance of the non-planar fault based on the provided segmentation, slip rate and mag upper

Parameters:
slipRate -
maxMag -
Returns:

getName

public String getName()
Return the name for this class

Specified by:
getName in interface Named
Overrides:
getName in class AbstractEpistemicListERF
Returns:
: return the name for this class

updateForecast

public void updateForecast()
Update the EqkRupForecasts with the new set of parameters

Specified by:
updateForecast in interface BaseERF
Overrides:
updateForecast in class AbstractEpistemicListERF