|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.commons.calc.magScalingRelations.MagScalingRelationship
org.opensha.commons.calc.magScalingRelations.MagLengthRelationship
org.opensha.commons.calc.magScalingRelations.magScalingRelImpl.WC1994_MagLengthRelationship
public class WC1994_MagLengthRelationship
Title:WC1994_MagLengthRelationship
Description: This implements the Wells and Coppersmith (1994, Bull.
Seism. Soc. Am., pages 974-2002) magnitude versus surface-rupture length relationships. The
values are a function of rake. Setting the rake to Double.NaN causes their "All"
rupture-types to be applied (and this is the default value for rake). Note that the
standard deviation for length as a function of mag is given for log(area) (base-10)
not length.
| Field Summary | |
|---|---|
static String |
NAME
|
| Fields inherited from class org.opensha.commons.calc.magScalingRelations.MagScalingRelationship |
|---|
lnToLog, rake |
| Constructor Summary | |
|---|---|
WC1994_MagLengthRelationship()
no-argument constructor. |
|
| Method Summary | |
|---|---|
double |
getLengthStdDev()
Computes the standard deviation of log(length) (base-10) from magnitude (for the previously set or default rake) |
double |
getMagStdDev()
Gives the standard deviation for the magnitude as a function of length (for the previously set or default rake). |
double |
getMedianLength(double mag)
Computes the median rupture length from magnitude (for the previously set or default rake). |
double |
getMedianMag(double length)
Computes the median magnitude from rupture length (for the previously set or default rake). |
String |
getName()
Returns the name of the object |
void |
setRake(double rake)
This overides the parent method to allow a value of Double.NaN (which is used to designate the "All" rupture-types option here). |
| Methods inherited from class org.opensha.commons.calc.magScalingRelations.MagLengthRelationship |
|---|
getLengthStdDev, getMagStdDev, getMedianLength, getMedianMag, getMedianScale, getScaleStdDev |
| Methods inherited from class org.opensha.commons.calc.magScalingRelations.MagScalingRelationship |
|---|
getMedianScale, getScaleStdDev |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
| Constructor Detail |
|---|
public WC1994_MagLengthRelationship()
| Method Detail |
|---|
public String getName()
getName in interface NamedgetName in class MagScalingRelationshippublic double getMedianMag(double length)
getMedianMag in class MagLengthRelationshiplength - in km
public double getMagStdDev()
getMagStdDev in class MagLengthRelationshiplength - in km
public double getMedianLength(double mag)
getMedianLength in class MagLengthRelationshipmag - - moment magnitude
public double getLengthStdDev()
getLengthStdDev in class MagLengthRelationshipmag - - moment magnituderake - in degrees
public void setRake(double rake)
setRake in class MagScalingRelationshiprake -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||