org.opensha.commons.calc
Class FaultMomentCalc
java.lang.Object
org.opensha.commons.calc.FaultMomentCalc
public final class FaultMomentCalc
- extends Object
Title: FaultMomentCalc
Description: This is a utility to calculate moment (in SI units: Newton-Meters) for
given fault information
- Version:
- 1.0
- Author:
- Ned Field
|
Method Summary |
static double |
getMoment(double area,
double slip)
This function calculates the moment (SI units) for the given fault area and average slip,
assuming a shear modulus of 3e10 N-m. |
static double |
getSlip(double area,
double moment)
This function calculates slip for a given fault area and moment, assuming a shear modulus of 3e10 N-m. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHEAR_MODULUS
public static final double SHEAR_MODULUS
- See Also:
- Constant Field Values
FaultMomentCalc
public FaultMomentCalc()
getMoment
public static double getMoment(double area,
double slip)
- This function calculates the moment (SI units) for the given fault area and average slip,
assuming a shear modulus of 3e10 N-m. Note that this also computes moment rate
if slip rate is given rather than slip.
- Parameters:
area: - the fault area (in square Meters)slip: - the ave slip (in Meters)
- Returns:
- Moment (in Newton-Meters) or moment rate if slip-rate given.
getSlip
public static double getSlip(double area,
double moment)
- This function calculates slip for a given fault area and moment, assuming a shear modulus of 3e10 N-m.
This also calculates slip rate if moment rate is given
- Parameters:
area: - the fault area (in square Meters)moment:(in - Newton-Meters) or moment rate
- Returns:
- Slip (in meters) or slip rate if moment-rate is given