public enum RuptureFloating extends Enum<RuptureFloating>
List of Ruptures from a
GriddedSurface, magnitude, rate, rake, and uncertainty flag.
NOTE: Only ON currently recognizes and applies rupture area
uncertainty.
| Enum Constant and Description |
|---|
NSHM
NSHM floating model.
|
OFF
Do not float.
|
ON
Float both down-dip and along-strike.
|
STRIKE_ONLY
Float along-strike only; floaters extend to full down-dip-width.
|
TRIANGULAR
Triangular distribution of hypocenters.
|
| Modifier and Type | Method and Description |
|---|---|
abstract List<Rupture> |
createFloatingRuptures(GriddedSurface surface,
RuptureScaling scaling,
double mag,
double rate,
double rake,
boolean uncertainty)
Create a
List of floating ruptures |
static void |
main(String[] args) |
static RuptureFloating |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuptureFloating[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuptureFloating OFF
public static final RuptureFloating ON
public static final RuptureFloating STRIKE_ONLY
sigma.public static final RuptureFloating NSHM
sigma.public static final RuptureFloating TRIANGULAR
public static RuptureFloating[] values()
for (RuptureFloating c : RuptureFloating.values()) System.out.println(c);
public static RuptureFloating valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract List<Rupture> createFloatingRuptures(GriddedSurface surface, RuptureScaling scaling, double mag, double rate, double rake, boolean uncertainty)
List of floating rupturessurface - (gridded) from which floaters are derivedscaling - the rupture scaling model used to determine floater
dimensionsmag - the magnitude of interestpublic static void main(String[] args)