org.opensha.sha.earthquake
Class ProbEqkRupture
java.lang.Object
org.opensha.sha.earthquake.EqkRupture
org.opensha.sha.earthquake.ProbEqkRupture
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CyberShakeEqkRupture
public class ProbEqkRupture
- extends EqkRupture
Title:ProbEqkRupture
Description: Probabilistic Earthquake Rupture
- Version:
- 1.0
- Author:
- rewritten by Ned Field
- See Also:
- Serialized Form
| Methods inherited from class org.opensha.sha.earthquake.EqkRupture |
addParameter, getAddedParametersIterator, getAveRake, getHypocenterLocation, getMag, getRuptureSurface, removeParameter, setAveRake, setHypocenterLocation, setMag, setPointSurface, setPointSurface, setPointSurface, setPointSurface, setRuptureSurface |
probability
protected double probability
ProbEqkRupture
public ProbEqkRupture()
ProbEqkRupture
public ProbEqkRupture(double mag,
double aveRake,
double probability,
RuptureSurface ruptureSurface,
Location hypocenterLocation)
throws InvalidRangeException
- Throws:
InvalidRangeException
getProbability
public double getProbability()
setProbability
public void setProbability(double p)
getMeanAnnualRate
public double getMeanAnnualRate(double duration)
- This is a function of probability and duration
getInfo
public String getInfo()
- Overrides:
getInfo in class EqkRupture
getRuptureMetadata
public String getRuptureMetadata()
- Returns the Metadata for the rupture of a given source. Following information
is represented as a single line for the rupture.
Each element in the single line is seperated by a tab ("\t").
- Returns:
- String
clone
public Object clone()
- Clones the eqk rupture and returns the new cloned object
- Overrides:
clone in class Object
- Returns: