public enum FocalMech extends Enum<FocalMech>
| Enum Constant and Description |
|---|
NORMAL
A normal slip focal mechanism.
|
REVERSE
A reverse slip (or thrust) focal mechanism.
|
STRIKE_SLIP
A strike-slip focal mechanism.
|
| Modifier and Type | Method and Description |
|---|---|
double |
dip()
Returns a 'standard' dip value for this mechanism.
|
double |
rake()
Returns a 'standard' rake value for this mechanism.
|
String |
toString() |
static FocalMech |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FocalMech[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FocalMech STRIKE_SLIP
public static final FocalMech REVERSE
public static final FocalMech NORMAL
public static FocalMech[] values()
for (FocalMech c : FocalMech.values()) System.out.println(c);
public static FocalMech 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 double dip()
public double rake()
NOTE: This value may not be appropriate for future PSHA if
directivity is considered. For example, STRIKE_SLIP currently
returns a left-lateral rake. Furthermore, oblique focal mechanisms will
need to specify right- or left-lateral reverse and normal combinations.