|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.earthquake.EqkRupture
public class EqkRupture
Title: EqkRupture
Description:
| Field Summary | |
|---|---|
protected double |
aveRake
|
protected static String |
C
|
protected static boolean |
D
|
protected Location |
hypocenterLocation
|
protected double |
mag
|
protected ParameterList |
otherParams
object to contain arbitrary parameters |
protected RuptureSurface |
ruptureSurface
object to specify Rupture distribution and AveDip |
| Constructor Summary | |
|---|---|
EqkRupture()
|
|
EqkRupture(double mag,
double aveRake,
RuptureSurface ruptureSurface,
Location hypocenterLocation)
|
|
| Method Summary | |
|---|---|
void |
addParameter(Parameter<?> parameter)
This function doesn't create the ParameterList until the first attempt to add a parameter is added. |
ListIterator<Parameter<?>> |
getAddedParametersIterator()
SWR - Not crazy about the name, why not just getParametersIterator(), same as the ParameterList it is calling. |
double |
getAveRake()
|
Location |
getHypocenterLocation()
|
String |
getInfo()
|
double |
getMag()
|
RuptureSurface |
getRuptureSurface()
|
void |
removeParameter(Parameter<?> parameter)
|
void |
setAveRake(double aveRake)
|
void |
setHypocenterLocation(Location h)
|
void |
setMag(double mag)
|
void |
setPointSurface(Location location)
|
void |
setPointSurface(Location location,
double aveDip)
|
void |
setPointSurface(Location location,
double aveStrike,
double aveDip)
|
void |
setPointSurface(PointSurface pointSurface)
|
void |
setRuptureSurface(RuptureSurface r)
Note: Since this takes a GriddedSurfaceAPI both a PointSurface and GriddedSurface can be set here |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String C
protected static final boolean D
protected double mag
protected double aveRake
protected Location hypocenterLocation
protected RuptureSurface ruptureSurface
protected ParameterList otherParams
| Constructor Detail |
|---|
public EqkRupture()
public EqkRupture(double mag,
double aveRake,
RuptureSurface ruptureSurface,
Location hypocenterLocation)
throws InvalidRangeException
InvalidRangeException| Method Detail |
|---|
public void addParameter(Parameter<?> parameter)
public void removeParameter(Parameter<?> parameter)
public ListIterator<Parameter<?>> getAddedParametersIterator()
public double getMag()
public void setMag(double mag)
public double getAveRake()
public void setAveRake(double aveRake)
throws InvalidRangeException
InvalidRangeExceptionpublic RuptureSurface getRuptureSurface()
public void setRuptureSurface(RuptureSurface r)
public Location getHypocenterLocation()
public void setHypocenterLocation(Location h)
public void setPointSurface(Location location)
public void setPointSurface(Location location,
double aveDip)
public void setPointSurface(Location location,
double aveStrike,
double aveDip)
public void setPointSurface(PointSurface pointSurface)
public String getInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||