|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.commons.param.AbstractParameter<E>
org.opensha.sha.imr.param.PropagationEffectParams.PropagationEffectParameter<E>
public abstract class PropagationEffectParameter<E>
Title: PropagationEffectParameter
Description: Propagation Effectg Paraemters deal with special subclass of Parameters that are associated with earthquakes, and know how to calculate their own values from having a Site and EqkRupture set.
These values are generally self calculated as opposed t normal Parameters where the values are specifically set calling setValue().
| Field Summary | |
|---|---|
protected static String |
C
|
protected static boolean |
D
|
protected EqkRupture |
eqkRupture
The EqkRupture used for calculating the PropagationEffect |
protected Site |
site
The Site used for calculating the PropagationEffect |
| Fields inherited from class org.opensha.commons.param.AbstractParameter |
|---|
constraint, defaultValue, editable, independentParameters, info, metadataString, name, units, value, XML_COMPLEX_VAL_EL_NAME, XML_GROUP_METADATA_NAME, XML_METADATA_NAME, XML_NULL_VALUE |
| Fields inherited from interface org.opensha.commons.param.Parameter |
|---|
XML_INDEPENDENT_PARAMS_NAME |
| Constructor Summary | |
|---|---|
PropagationEffectParameter()
|
|
| Method Summary | |
|---|---|
protected abstract void |
calcValueFromSiteAndEqkRup()
This is called whenever either the Site or EqkRupture has been changed to update the value stored in this parameter. |
String |
getType()
Returns the EqkRupture associated with this Parameter |
E |
getValue(EqkRupture eqkRupture,
Site site)
Sets the independent variables (Site and EqkRupture) then calculates and returns the value |
void |
setValue(EqkRupture eqkRupture,
Site site)
Sets the independent variables (Site and EqkRupture) then calculates the value |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensha.commons.param.Parameter |
|---|
getEditor |
| Field Detail |
|---|
protected static final String C
protected static final boolean D
protected Site site
protected EqkRupture eqkRupture
| Constructor Detail |
|---|
public PropagationEffectParameter()
| Method Detail |
|---|
public E getValue(EqkRupture eqkRupture,
Site site)
getValue in interface PropagationEffectParameterAPI<E>
public void setValue(EqkRupture eqkRupture,
Site site)
setValue in interface PropagationEffectParameterAPI<E>public String getType()
getType in interface Parameter<E>getType in class AbstractParameter<E>protected abstract void calcValueFromSiteAndEqkRup()
Subclasses implement this in their own way. This is what differentiates different subclasses.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||