|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.util.NSHMP_Util
public class NSHMP_Util
NSHMP Utilities. These methods are primarily used by NSHMP_2008_CA.
| Constructor Summary | |
|---|---|
NSHMP_Util()
|
|
| Method Summary | |
|---|---|
static double |
getAvgHW_CB(double M,
double D,
double P)
Returns the average hanging-wall factor appropriate for CB_2008_AttenRel for a dipping point source at the supplied
distance and magnitude and period of interest. |
static double |
getAvgHW_CY(double M,
double D,
double P)
Returns the average hanging-wall factor appropriate for CY_2008_AttenRel for a dipping point source at the supplied
distance and magnitude and period of interest. |
static double |
getMeanRJB(double M,
double D)
Returns a corrected distance value corresponding to the supplied JB distance and magnitude. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NSHMP_Util()
| Method Detail |
|---|
public static double getMeanRJB(double M,
double D)
D ≥ 1000km, method returns D.
M - magnitudeD - distance
D if D ??? 1000
IllegalArgumentException - if M is not one of [6.05,
6.15, ... 8.55]
public static double getAvgHW_CB(double M,
double D,
double P)
CB_2008_AttenRel for a dipping point source at the supplied
distance and magnitude and period of interest. Magnitude is expected to
be a 0.05 centered value between 6 and 7.5 (e.g [6.05, 6.15, ... 7.45]).
Distance values should be ≤200km. If distance value is >200km,
method returns 0. Valid periods are those prescribed by
CB_2008_AttenRel.
M - magnitudeD - distanceP - period
IllegalArgumentException - if M is not one of [6.05,
6.15, ... 7.45]
IllegalArgumentException - if P is not one of [-2.0
(pgd), -1.0 (pgv), 0.0 (pga), 0.01, 0.02, 0.03, 0.04, 0.05,
0.075, 0.1, 0.15, 0.2, 0.25, 0.3, 0.4, 0.5, 0.75, 1.0, 1.5, 2.0,
3.0, 4.0, 5.0, 7.5, 10.0]
public static double getAvgHW_CY(double M,
double D,
double P)
CY_2008_AttenRel for a dipping point source at the supplied
distance and magnitude and period of interest. Magnitude is expected to
be a 0.05 centered value between 5 and 7.5 (e.g [5.05, 6.15, ... 7.45]).
If there is no match for the supplied magnitude, method returns 0.
Distance values should be ≤200km. If distance value is >200km,
method returns 0. Valid periods are those prescribed by
CY_2008_AttenRel (Note:PGV is currently missing).
M - magnitudeD - distanceP - period
IllegalArgumentException - if P is not one of [0.0
(pga), 0.01, 0.02, 0.03, 0.04, 0.05, 0.075, 0.1, 0.15, 0.2, 0.25,
0.3, 0.4, 0.5, 0.75, 1.0, 1.5, 2.0, 3.0, 4.0, 5.0, 7.5, 10.0]
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||