|
||||||||||
| 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.CY_2008_AttenRel
public class CY_2008_AttenRel
Implementation of the Chiou & Youngs (2008) next generation attenuation relationship (NGA). See: Earthquake Spectra, Volume 24, No. 1, pages 173???215.
Supported Intensity-Measure Parameters:
When setting parameters from a passed-in EqkRupture, aftershockParam is always set to false (we could change this if aftershock info is added to an EqkRupture, but it's not clear this is justified).
If depthTo1pt0kmPerSecParam is null, it is set from Vs30 using their equation (1).
Verification - This model has been tested against: 1) a verification file generated independently by Ken Campbell, implemented in the JUnit test class CY_2008_test; and 2) by the test class NGA08_Site_EqkRup_Tests, which makes sure parameters are set properly when Site and EqkRupture objects are passed in.
| Field Summary | |
|---|---|
protected static double[] |
c1
|
protected static double[] |
c10
|
protected static double[] |
c1a
|
protected static double[] |
c1b
|
protected static double |
c2
|
protected static double |
c3
|
protected static double |
c4
|
protected static double |
c4a
|
protected static double[] |
c5
|
protected static double[] |
c6
|
protected static double[] |
c7
|
protected static double[] |
c7a
|
protected static double[] |
c9
|
protected static double[] |
c9a
|
protected static double[] |
cg1
|
protected static double[] |
cg2
|
protected static double |
cg3
|
protected static double |
chm
|
protected static double[] |
cm
|
protected static double[] |
cn
|
protected static double |
crb
|
protected static double |
DEPTH_1pt0_WARN_MAX
|
protected static double |
DEPTH_1pt0_WARN_MIN
|
protected static double |
DISTANCE_MINUS_WARN_MAX
|
protected static double |
DISTANCE_MINUS_WARN_MIN
|
protected static double |
DISTANCE_RUP_WARN_MAX
|
protected static double |
DISTANCE_RUP_WARN_MIN
|
protected static double |
DISTANCE_X_WARN_MAX
|
protected static double |
DISTANCE_X_WARN_MIN
|
static String |
FLT_TYPE_NORMAL
|
static String |
FLT_TYPE_REVERSE
|
static String |
FLT_TYPE_STRIKE_SLIP
|
protected double |
lnYref
|
protected boolean |
lnYref_is_not_fresh
|
protected static double |
MAG_WARN_MAX
|
protected static double |
MAG_WARN_MIN
|
static String |
NAME
|
protected static double[] |
period
|
protected static Double |
PERIOD_DEFAULT
|
protected static double[] |
phi1
|
protected static double[] |
phi2
|
protected static double[] |
phi3
|
protected static double[] |
phi4
|
protected static double[] |
phi5
|
protected static double[] |
phi6
|
protected static double[] |
phi7
|
protected static double[] |
phi8
|
protected static double |
RUP_TOP_WARN_MAX
|
protected static double |
RUP_TOP_WARN_MIN
|
static String |
SHORT_NAME
|
protected static double[] |
sig1
|
protected static double[] |
sig2
|
protected static double[] |
sig3
|
protected static double[] |
sig4
|
protected static double[] |
tau1
|
protected static double[] |
tau2
|
protected static double |
VS30_WARN_MAX
|
protected static double |
VS30_WARN_MIN
|
| 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 | |
|---|---|
CY_2008_AttenRel(ParameterChangeWarningListener listener)
Constructs a new instance of this attenuation relationship. |
|
| Method Summary | |
|---|---|
protected void |
compute_lnYref(int iper,
double f_rv,
double f_nm,
double rRup,
double distRupMinusJB_OverRup,
double distRupMinusDistX_OverRup,
double f_hw,
double dip,
double mag,
double depthTop,
double aftershock)
This method returns lnYref (equation 13a in their paper). |
URL |
getInfoURL()
This provides a URL where more info on this model can be obtained |
double |
getMean()
Calculates the mean value. |
double |
getMean(int iper,
double vs30,
double f_rv,
double f_nm,
double rRup,
double distRupMinusJB_OverRup,
double depthTo1pt0kmPerSec,
double distRupMinusDistX_OverRup,
double f_hw,
double dip,
double mag,
double depthTop,
double aftershock)
This gets the mean for specific parameter settings. |
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,
double vs30,
double f_rv,
double f_nm,
double rRup,
double distRupMinusJB_OverRup,
double distRupMinusDistX_OverRup,
double f_hw,
double dip,
double mag,
double depthTop,
double aftershock,
String stdDevType,
double f_meas)
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()
This function returns the array index for the coeffs corresponding to the chosen IMT |
void |
setEqkRupture(EqkRupture eqkRupture)
Sets the EqkRupture object in the IMR as a reference to the one passed in. |
protected void |
setFaultTypeFromRake(double rake)
Set style of faulting from the rake angle. |
void |
setParamDefaults()
Allows the user to set the default parameter values for the selected Attenuation Relationship. |
protected void |
setPropagationEffectParams()
Calculates the value of each propagation effect parameter from the current Site and ProbEqkRupture objects. |
void |
setSite(Site site)
Sets the Site object as a reference to that passed in. |
| 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 NAME
public static final String SHORT_NAME
protected static final double[] period
protected static final double[] c1
protected static final double[] c1a
protected static final double[] c1b
protected static final double[] cn
protected static final double[] cm
protected static final double[] c5
protected static final double[] c6
protected static final double[] c7
protected static final double[] c7a
protected static final double[] c9
protected static final double[] c9a
protected static final double[] c10
protected static final double[] cg1
protected static final double[] cg2
protected static final double[] phi1
protected static final double[] phi2
protected static final double[] phi3
protected static final double[] phi4
protected static final double[] phi5
protected static final double[] phi6
protected static final double[] phi7
protected static final double[] phi8
protected static final double[] tau1
protected static final double[] tau2
protected static final double[] sig1
protected static final double[] sig2
protected static final double[] sig3
protected static final double[] sig4
protected static final double c2
protected static final double c3
protected static final double c4
protected static final double c4a
protected static final double crb
protected static final double chm
protected static final double cg3
protected static final Double PERIOD_DEFAULT
protected double lnYref
protected boolean lnYref_is_not_fresh
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 DISTANCE_MINUS_WARN_MIN
protected static final double DISTANCE_MINUS_WARN_MAX
protected static final double DISTANCE_X_WARN_MIN
protected static final double DISTANCE_X_WARN_MAX
protected static final double VS30_WARN_MIN
protected static final double VS30_WARN_MAX
protected static final double RUP_TOP_WARN_MIN
protected static final double RUP_TOP_WARN_MAX
protected static final double DEPTH_1pt0_WARN_MIN
protected static final double DEPTH_1pt0_WARN_MAX
public static final String FLT_TYPE_STRIKE_SLIP
public static final String FLT_TYPE_REVERSE
public static final String FLT_TYPE_NORMAL
| Constructor Detail |
|---|
public CY_2008_AttenRel(ParameterChangeWarningListener listener)
listener - | Method Detail |
|---|
public void setEqkRupture(EqkRupture eqkRupture)
throws InvalidRangeException
AbstractIMR
setEqkRupture in interface IntensityMeasureRelationshipsetEqkRupture in class AbstractIMReqkRupture - The new EqkRupture object
InvalidRangeException
public void setSite(Site site)
throws ParameterException
AbstractIMR
setSite in interface IntensityMeasureRelationshipsetSite in class AbstractIMRsite - The new site object
ParameterExceptionprotected void setPropagationEffectParams()
AttenuationRelationship
setPropagationEffectParams in class AttenuationRelationshipprotected void setFaultTypeFromRake(double rake)
rake - in degrees
protected void setCoeffIndex()
throws ParameterException
ParameterExceptionpublic double getMean()
getMean in interface ScalarIMRpublic double getStdDev()
ScalarIMR
getStdDev in interface ScalarIMRpublic void setParamDefaults()
setParamDefaults in interface IntensityMeasureRelationshipprotected void initIndependentParamLists()
protected void initSiteParams()
initSiteParams in class AttenuationRelationshipprotected void initEqkRuptureParams()
initEqkRuptureParams in class AttenuationRelationshipprotected void initPropagationEffectParams()
initPropagationEffectParams in class AttenuationRelationshipprotected void initSupportedIntensityMeasureParams()
initSupportedIntensityMeasureParams in class AttenuationRelationshipprotected void initOtherParams()
initOtherParams 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 vs30,
double f_rv,
double f_nm,
double rRup,
double distRupMinusJB_OverRup,
double depthTo1pt0kmPerSec,
double distRupMinusDistX_OverRup,
double f_hw,
double dip,
double mag,
double depthTop,
double aftershock)
iper - vs30 - f_rv - f_nm - rRup - distRupMinusJB_OverRup - depthTo1pt0kmPerSec - distRupMinusDistX_OverRup - f_hw - dip - mag - depthTop - aftershock -
protected void compute_lnYref(int iper,
double f_rv,
double f_nm,
double rRup,
double distRupMinusJB_OverRup,
double distRupMinusDistX_OverRup,
double f_hw,
double dip,
double mag,
double depthTop,
double aftershock)
iper - f_rv - f_nm - rRup - distRupMinusJB_OverRup - distRupMinusDistX_OverRup - f_hw - dip - mag - depthTop - aftershock -
public double getStdDev(int iper,
double vs30,
double f_rv,
double f_nm,
double rRup,
double distRupMinusJB_OverRup,
double distRupMinusDistX_OverRup,
double f_hw,
double dip,
double mag,
double depthTop,
double aftershock,
String stdDevType,
double f_meas)
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 | |||||||||