|
||||||||||
| 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_1997_AttenRel
public class AS_1997_AttenRel
Title: AS_1997_AttenRel
Description: This implements the Attenuation Relationship developed by Abrahmson and Silva (1997, Seismological Research Letters, vol 68, num 1, pp 94-127)
Supported Intensity-Measure Parameters:
Other Independent Parameters:
| Field Summary | |
|---|---|
static Double |
DISTANCE_RUP_WARN_MAX
|
static Double |
DISTANCE_RUP_WARN_MIN
|
static String |
FLT_TYPE_OTHER
|
static String |
FLT_TYPE_REV_OBL
|
static String |
FLT_TYPE_REVERSE
|
static String |
IS_ON_HANGING_WALL_DEFAULT
|
static String |
IS_ON_HANGING_WALL_FALSE
|
static String |
IS_ON_HANGING_WALL_INFO
|
static String |
IS_ON_HANGING_WALL_NAME
|
static String |
IS_ON_HANGING_WALL_TRUE
|
static Double |
MAG_WARN_MAX
|
static Double |
MAG_WARN_MIN
|
static String |
NAME
Attenuation relationship name |
static String |
SHORT_NAME
Attenuation relationship short name |
static String |
SITE_TYPE_DEFAULT
|
static String |
SITE_TYPE_INFO
|
static String |
SITE_TYPE_NAME
info |
static String |
SITE_TYPE_ROCK
|
static String |
SITE_TYPE_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 | |
|---|---|
AS_1997_AttenRel(ParameterChangeWarningListener listener)
Constructs a new attenuation relationship. |
|
| 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. |
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. |
protected void |
initCoefficients()
This creates the hashtable of coefficients for the supported intensityMeasures (im). |
protected void |
initEqkRuptureParams()
Creates the EqkRupture-related parameters, which are all associated parameters that the exceedance probability depends upon. |
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 |
initPropagationEffectParams()
Creates Propagation-Effect related parameters, which are all associated parameters that the exceedance probability depends upon. |
protected void |
initSiteParams()
This creates Site-related parameters, which are all associated parameters that the exceedance probability depends upon. |
protected void |
initSupportedIntensityMeasureParams()
This creates the supported intensity-measure parameters. |
protected boolean |
isOnHangingWall()
This determines whether the rupture is on the hanging wall by creating a polygon that is extended in the down-dip direction, and then checking whether the site is inside. |
void |
setEqkRupture(EqkRupture eqkRupture)
This sets the eqkRupture related parameters (magParam and fltTypeParam) based on the eqkRupture passed in. |
protected void |
setFaultTypeFromRake(double rake)
Determines the style of faulting from the rake angle (which comes from the eqkRupture object) and fills in the value of the fltTypeParam; since their paper does not quantify the distinction, Norm advised as follows: Reverse if 67.5 |
void |
setParamDefaults()
This sets the defaults for all the parameters. |
protected void |
setPropagationEffectParams()
This sets the two propagation-effect parameters (distanceRupParam and isOnHangingWallParam) based on the current site and eqkRupture. |
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). |
protected void |
updateCoefficients()
This function determines which set of coefficients in the HashMap are to be used given the current intensityMeasure (im) Parameter. |
| 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_REVERSE
public static final String FLT_TYPE_REV_OBL
public static final String FLT_TYPE_OTHER
public static final String SITE_TYPE_NAME
public static final String SITE_TYPE_INFO
public static final String SITE_TYPE_ROCK
public static final String SITE_TYPE_SOIL
public static final String SITE_TYPE_DEFAULT
public static final String IS_ON_HANGING_WALL_NAME
public static final String IS_ON_HANGING_WALL_INFO
public static final String IS_ON_HANGING_WALL_TRUE
public static final String IS_ON_HANGING_WALL_FALSE
public static final String IS_ON_HANGING_WALL_DEFAULT
public static final Double MAG_WARN_MIN
public static final Double MAG_WARN_MAX
public static final Double DISTANCE_RUP_WARN_MIN
public static final Double DISTANCE_RUP_WARN_MAX
| Constructor Detail |
|---|
public AS_1997_AttenRel(ParameterChangeWarningListener listener)
listener - may be null| Method Detail |
|---|
protected void setFaultTypeFromRake(double rake)
throws InvalidRangeException
rake - in degrees
InvalidRangeException - If not valid rake angle
public void setEqkRupture(EqkRupture eqkRupture)
throws InvalidRangeException
setEqkRupture in interface IntensityMeasureRelationshipsetEqkRupture in class AbstractIMReqkRupture - The new eqkRupture value
InvalidRangeException - thrown if rake is out of bounds
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 parameterprotected void setPropagationEffectParams()
setPropagationEffectParams in class AttenuationRelationshipprotected boolean isOnHangingWall()
protected void updateCoefficients()
throws ParameterException
ParameterException
public double getMean()
throws IMRException
ScalarIMR
IMRException
public double getStdDev()
throws IMRException
ScalarIMR
IMRExceptionpublic void setParamDefaults()
IntensityMeasureRelationship
protected void initIndependentParamLists()
protected void initSiteParams()
AttenuationRelationship
initSiteParams in class AttenuationRelationshipprotected void initEqkRuptureParams()
AttenuationRelationship
initEqkRuptureParams in class AttenuationRelationshipprotected void initPropagationEffectParams()
AttenuationRelationship
initPropagationEffectParams in class AttenuationRelationshipprotected void initSupportedIntensityMeasureParams()
AttenuationRelationship
initSupportedIntensityMeasureParams in class AttenuationRelationshipprotected void initOtherParams()
initOtherParams in class AttenuationRelationshipprotected void initCoefficients()
public String getName()
AbstractIMR
getName in interface NamedgetName in interface IntensityMeasureRelationshipgetName in class AbstractIMRpublic String getShortName()
IntensityMeasureRelationship
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 nothing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||