|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.imr.AbstractIMR
org.opensha.sha.imr.AttenuationRelationship
org.opensha.sha.imr.attenRelImpl.ZhaoEtAl_2006_AttenRel
public class ZhaoEtAl_2006_AttenRel
| Field Summary | |
|---|---|
protected static Double |
DEPTH_HYPO_WARN_MAX
|
protected static Double |
DEPTH_HYPO_WARN_MIN
|
protected static Double |
DISTANCE_RUP_WARN_MAX
|
protected static Double |
DISTANCE_RUP_WARN_MIN
|
static String |
FLT_FOC_MECH_NORMAL
|
static String |
FLT_FOC_MECH_REVERSE
|
static String |
FLT_FOC_MECH_STRIKE_SLIP
|
static String |
FLT_FOC_MECH_UNKNOWN
|
static String |
FLT_TEC_ENV_CRUSTAL
|
static String |
FLT_TEC_ENV_INTERFACE
|
static String |
FLT_TEC_ENV_SLAB
|
protected static Double |
MAG_WARN_MAX
|
protected static Double |
MAG_WARN_MIN
|
static String |
NAME
|
static String |
SHORT_NAME
|
static String |
SITE_TYPE_DEFAULT
|
static String |
SITE_TYPE_HARD_ROCK
|
static String |
SITE_TYPE_HARD_SOIL
|
static String |
SITE_TYPE_INFO
|
static String |
SITE_TYPE_MEDIUM_SOIL
|
static String |
SITE_TYPE_NAME
|
static String |
SITE_TYPE_ROCK
|
static String |
SITE_TYPE_SOFT_SOIL
|
| Fields inherited from class org.opensha.sha.imr.AbstractIMR |
|---|
eqkRupture, eqkRuptureParams, EXCEED_PROB_DEFAULT, EXCEED_PROB_INFO, EXCEED_PROB_MAX, EXCEED_PROB_MIN, EXCEED_PROB_NAME, exceedProbParam, im, intensityMeasureChanged, listener, otherParams, propagationEffectParams, site, siteParams, supportedIMParams, url_info_string, XML_METADATA_IMT_NAME, XML_METADATA_NAME, XML_METADATA_SITE_PARAMETERS_NAME |
| Fields inherited from interface org.opensha.commons.metadata.XMLSaveable |
|---|
XML_METADATA_NAME |
| Constructor Summary | |
|---|---|
ZhaoEtAl_2006_AttenRel(ParameterChangeWarningListener listener)
This initializes several ParameterList objects. |
|
| Method Summary | |
|---|---|
URL |
getInfoURL()
This provides a URL where more info on this model can be obtained |
double |
getMean()
This returns the mean intensity-measure level for the current set of parameters. |
double |
getMean(int iper,
double mag,
double rRup)
|
String |
getName()
get the name of this IMR |
String |
getShortName()
Returns the Short Name of each AttenuationRelationship |
double |
getStdDev()
This returns the standard deviation (stdDev) of the intensity-measure level for the current set of parameters. |
double |
getStdDev(int iper,
String stdDevType,
String tecRegType)
This gets the standard deviation for specific parameter settings. |
protected void |
initEqkRuptureParams()
Creates the two Potential Earthquake parameters (magParam and fltTypeParam) and adds them to the eqkRuptureParams list. |
protected void |
initIndependentParamLists()
This creates the lists of independent parameters that the various dependent parameters (mean, standard deviation, exceedance probability, and IML at exceedance probability) depend upon. |
protected void |
initOtherParams()
Creates other Parameters that the mean or stdDev depends upon, such as the Component or StdDevType parameters. |
protected void |
initParameterEventListeners()
Adds the parameter change listeners. |
protected void |
initPropagationEffectParams()
Creates the Propagation Effect parameters and adds them to the propagationEffectParams list. |
protected void |
initSiteParams()
Creates the Site-Type parameter and adds it to the siteParams list. |
protected void |
initSupportedIntensityMeasureParams()
Creates the two supported IM parameters (PGA and SA), as well as the independenParameters of SA (periodParam and dampingParam) and adds them to the supportedIMParams list. |
void |
parameterChange(ParameterChangeEvent e)
This listens for parameter changes and updates the primitive parameters accordingly |
void |
resetParameterEventListeners()
Allows to reset the change listeners on the parameters |
protected void |
setCoeffIndex()
|
void |
setEqkRupture(EqkRupture eqkRupture)
This sets the eqkRupture related parameters (magParam and fltTypeParam) based on the eqkRupture passed in. |
void |
setParamDefaults()
Allows the user to set the default parameter values for the selected Attenuation Relationship. |
void |
setPropagationEffectParams()
This sets the site and eqkRupture, and the related parameters, from the propEffect object passed in. |
void |
setSite(Site site)
This sets the site-related parameter (siteTypeParam) based on what is in the Site object passed in (the Site object must have a parameter with the same name as that in siteTypeParam). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
public static final String SHORT_NAME
public static final String NAME
public static final String SITE_TYPE_INFO
public static final String SITE_TYPE_NAME
public static final String SITE_TYPE_HARD_ROCK
public static final String SITE_TYPE_ROCK
public static final String SITE_TYPE_HARD_SOIL
public static final String SITE_TYPE_MEDIUM_SOIL
public static final String SITE_TYPE_SOFT_SOIL
public static final String SITE_TYPE_DEFAULT
public static final String FLT_TEC_ENV_CRUSTAL
public static final String FLT_TEC_ENV_INTERFACE
public static final String FLT_TEC_ENV_SLAB
public static final String FLT_FOC_MECH_REVERSE
public static final String FLT_FOC_MECH_NORMAL
public static final String FLT_FOC_MECH_STRIKE_SLIP
public static final String FLT_FOC_MECH_UNKNOWN
protected static final Double MAG_WARN_MIN
protected static final Double MAG_WARN_MAX
protected static final Double DISTANCE_RUP_WARN_MIN
protected static final Double DISTANCE_RUP_WARN_MAX
protected static final Double DEPTH_HYPO_WARN_MIN
protected static final Double DEPTH_HYPO_WARN_MAX
| Constructor Detail |
|---|
public ZhaoEtAl_2006_AttenRel(ParameterChangeWarningListener listener)
| Method Detail |
|---|
public void setEqkRupture(EqkRupture eqkRupture)
throws InvalidRangeException
setEqkRupture in interface IntensityMeasureRelationshipsetEqkRupture in class AbstractIMReqkRupture - The new eqkRupture value
InvalidRangeException - If not valid rake angle
public void setSite(Site site)
throws ParameterException
setSite in interface IntensityMeasureRelationshipsetSite in class AbstractIMRsite - The new site object
ParameterException - Thrown if the Site object doesn't contain a Vs30 parameterpublic void setPropagationEffectParams()
setPropagationEffectParams in class AttenuationRelationshippropEffect -
ParameterException
InvalidRangeException - If not valid distance, depth??? to check!!!
protected void setCoeffIndex()
throws ParameterException
ParameterExceptionpublic double getMean()
ScalarIMR
getMean in interface ScalarIMRpublic double getStdDev()
ScalarIMR
getStdDev in interface ScalarIMRpublic void setParamDefaults()
setParamDefaults in interface IntensityMeasureRelationshipprotected void initEqkRuptureParams()
initEqkRuptureParams in class AttenuationRelationshipprotected void initSiteParams()
initSiteParams in class AttenuationRelationshipprotected void initPropagationEffectParams()
initPropagationEffectParams in class AttenuationRelationshipprotected void initOtherParams()
initOtherParams in class AttenuationRelationshipprotected void initIndependentParamLists()
protected void initSupportedIntensityMeasureParams()
initSupportedIntensityMeasureParams in class AttenuationRelationshippublic String getName()
getName in interface NamedgetName in interface IntensityMeasureRelationshipgetName in class AbstractIMRpublic String getShortName()
getShortName in interface IntensityMeasureRelationship
public double getMean(int iper,
double mag,
double rRup)
iper - mag - rRup -
public double getStdDev(int iper,
String stdDevType,
String tecRegType)
iper - vs30 - f_rv - f_nm - rRup - distRupMinusJB_OverRup - distRupMinusDistX_OverRup - f_hw - dip - mag - depthTop - aftershock - stdDevType - f_meas -
public void parameterChange(ParameterChangeEvent e)
parameterChange in interface ParameterChangeListenere - ParameterChangeEventpublic void resetParameterEventListeners()
resetParameterEventListeners in interface ScalarIMRresetParameterEventListeners in class AttenuationRelationshipprotected void initParameterEventListeners()
initParameterEventListeners in class AttenuationRelationship
public URL getInfoURL()
throws MalformedURLException
getInfoURL in interface IntensityMeasureRelationshipgetInfoURL in class AbstractIMRMalformedURLException - if returned URL is not a valid URL.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||