|
||||||||||
| 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.AS_2008_AttenRel
public class AS_2008_AttenRel
Title: AS_2008_AttenRel
Description: This implements the Attenuation Relationship published by Abrahamson & Silva (2008, "Summary of the Abrahamson & Silva NGA Ground-Motion Relations", Earthquake Spectra, Volume 24, Number 1, pp. 67-97)
Supported Intensity-Measure Parameters:
NOTES: distRupMinusJB_OverRupParam is used rather than distancJBParameter because the latter should not be held constant when distanceRupParameter is changed (e.g., in the AttenuationRelationshipApplet). The same is true for distRupMinusDistX_OverRupParam.
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 (17).
Verification - This model has been tested against: 1) a verification file generated independently by Ken Campbell, implemented in the JUnit test class AS_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 | |
|---|---|
static String |
FLT_TYPE_NORMAL
|
static String |
FLT_TYPE_REVERSE
|
static String |
FLT_TYPE_STRIKE_SLIP
|
static String |
NAME
Name of IMR |
static String |
SHORT_NAME
|
| 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 | |
|---|---|
AS_2008_AttenRel(ParameterChangeWarningListener listener)
This initializes several ParameterList objects. |
|
| Method Summary | |
|---|---|
double |
getf10(int iper,
double vs30,
double depthTo1pt0kmPerSec)
Returns the value of f10 to be applied to the final median computation |
double |
getf5(int iper,
double vs30,
double pga_rock)
Returns the value of f5 for vs30, to be used in getMean for constant displacement model |
URL |
getInfoURL()
This provides a URL where more info on this model can be obtained |
double |
getMean()
Calculates the mean |
String |
getName()
Returns name of the IntensityMeasureRelationship. |
String |
getShortName()
Returns a Short Name for the IMR |
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 component,
double vs30,
double pga_rock,
double vsm)
|
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 Listeners to the parameters so that Attenuation can listen to any kind of changes to parameter values. |
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. |
static void |
main(String[] args)
CG: This comment was for CB 2008. |
void |
parameterChange(ParameterChangeEvent e)
Function that must be implemented by all Listeners for ParameterChangeEvents. |
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()
This sets the defaults for all the parameters. |
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
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 AS_2008_AttenRel(ParameterChangeWarningListener 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()
IntensityMeasureRelationship
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()
AbstractIMR
getName in interface NamedgetName in interface IntensityMeasureRelationshipgetName in class AbstractIMRpublic String getShortName()
IntensityMeasureRelationship
getShortName in interface IntensityMeasureRelationship
public double getf5(int iper,
double vs30,
double pga_rock)
public double getf10(int iper,
double vs30,
double depthTo1pt0kmPerSec)
public double getStdDev(int iper,
String stdDevType,
String component,
double vs30,
double pga_rock,
double vsm)
iper - stdDevType - component - vs30 - vsm - (vs flag for measured/estimated)
public void parameterChange(ParameterChangeEvent e)
ParameterChangeListener
parameterChange in interface ParameterChangeListenere - The Event which triggered this function callpublic void resetParameterEventListeners()
AttenuationRelationship
resetParameterEventListeners in interface ScalarIMRresetParameterEventListeners in class AttenuationRelationshipprotected void initParameterEventListeners()
AttenuationRelationship
initParameterEventListeners in class AttenuationRelationship
public URL getInfoURL()
throws MalformedURLException
AbstractIMR
getInfoURL in interface IntensityMeasureRelationshipgetInfoURL in class AbstractIMRMalformedURLException - if returned URL is not a valid URL.
This default implementation returns nothingpublic static void main(String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||