org.opensha.commons.calc.magScalingRelations.magScalingRelImpl
Class Somerville_2006_MagAreaRel

java.lang.Object
  extended by org.opensha.commons.calc.magScalingRelations.MagScalingRelationship
      extended by org.opensha.commons.calc.magScalingRelations.MagAreaRelationship
          extended by org.opensha.commons.calc.magScalingRelations.magScalingRelImpl.Somerville_2006_MagAreaRel
All Implemented Interfaces:
Serializable, Named

public class Somerville_2006_MagAreaRel
extends MagAreaRelationship

Title:Somerville_2006_MagAreaRel
Description: This implements the "Somerville (2006) Mag-Area Rel." published ?????. The equation is Mag=3.98+log10(Area).

Version:
1.0
Author:
Edward H. Field
See Also:
Serialized Form

Field Summary
static String NAME
           
 
Fields inherited from class org.opensha.commons.calc.magScalingRelations.MagScalingRelationship
lnToLog, rake
 
Constructor Summary
Somerville_2006_MagAreaRel()
           
 
Method Summary
 double getAreaStdDev()
          This returns NaN because the value is not available
 double getMagStdDev()
          Gives the standard deviation for magnitude
 double getMedianArea(double mag)
          Computes the median rupture area from magnitude
 double getMedianMag(double area)
          Computes the median magnitude from rupture area.
 String getName()
          Returns the name of the object
 
Methods inherited from class org.opensha.commons.calc.magScalingRelations.MagAreaRelationship
getAreaStdDev, getMagAreaFunction, getMagStdDev, getMedianArea, getMedianMag, getMedianScale, getScaleStdDev
 
Methods inherited from class org.opensha.commons.calc.magScalingRelations.MagScalingRelationship
getMedianScale, getScaleStdDev, setRake
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

Somerville_2006_MagAreaRel

public Somerville_2006_MagAreaRel()
Method Detail

getMedianMag

public double getMedianMag(double area)
Computes the median magnitude from rupture area.

Specified by:
getMedianMag in class MagAreaRelationship
Parameters:
area - in km
Returns:
median magnitude

getMagStdDev

public double getMagStdDev()
Gives the standard deviation for magnitude

Specified by:
getMagStdDev in class MagAreaRelationship
Returns:
standard deviation

getMedianArea

public double getMedianArea(double mag)
Computes the median rupture area from magnitude

Specified by:
getMedianArea in class MagAreaRelationship
Parameters:
mag - - moment magnitude
Returns:
median area in km

getAreaStdDev

public double getAreaStdDev()
This returns NaN because the value is not available

Specified by:
getAreaStdDev in class MagAreaRelationship
Returns:
standard deviation

getName

public String getName()
Returns the name of the object

Specified by:
getName in interface Named
Specified by:
getName in class MagScalingRelationship