public class GmmInput extends Object
Rupture and receiver Site property container used
as input to GroundMotionModels (GMMs). Not all GMMs use all
properties.GroundMotionModel.calc(GmmInput)| Modifier and Type | Class and Description |
|---|---|
static class |
GmmInput.Builder |
static class |
GmmInput.Constraints
The constraints associated with each
GmmInput field. |
static class |
GmmInput.Field
GmmInput field identifiers. |
| Modifier and Type | Field and Description |
|---|---|
double |
dip
Rupture dip.
|
double |
Mw
Moment magnitude.
|
double |
rake
Rupture rake.
|
double |
rJB
Joyner-Boore distance (distance to surface projection of rupture).
|
double |
rRup
Rupture distance (distance to rupture plane).
|
double |
rX
Distance X (shortest distance to extended strike of rupture).
|
double |
vs30
Vs30 at site.
|
boolean |
vsInf
Whether
vs30 is inferred or measured. |
double |
width
Rupture width.
|
double |
z1p0
Depth to 1.0 km/s (in km).
|
double |
z2p5
Depth to 2.5 km/s (in km).
|
double |
zHyp
Depth to rupture hypocenter.
|
double |
zTop
Depth to top of rupture.
|
| Modifier | Constructor and Description |
|---|---|
protected |
GmmInput(double Mw,
double rJB,
double rRup,
double rX,
double dip,
double width,
double zTop,
double zHyp,
double rake,
double vs30,
boolean vsInf,
double z1p0,
double z2p5)
Create a deterministic rupture and site property container with all
properties common to the supported set of ground motion models (GMMs).
|
| Modifier and Type | Method and Description |
|---|---|
static GmmInput.Builder |
builder()
Return a
GmmInput builder that requires all fields to be
explicitely set. |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString()
Some values [mag, rJB, rRup, rX, zHyp] may be truncated to 2 or 3 decimal
places for output.
|
public final double Mw
public final double rJB
public final double rRup
public final double rX
public final double dip
public final double width
public final double zTop
public final double zHyp
public final double rake
public final double vs30
public final boolean vsInf
vs30 is inferred or measured.public final double z1p0
public final double z2p5
protected GmmInput(double Mw,
double rJB,
double rRup,
double rX,
double dip,
double width,
double zTop,
double zHyp,
double rake,
double vs30,
boolean vsInf,
double z1p0,
double z2p5)
It is generally preferred to use a GmmInput.Builder to assemble the
components of a GmmInput.
Mw - moment magnitude of rupturerJB - Joyner-Boore distance to rupture (in km)rRup - 3D distance to rupture plane (in km)rX - distance X (in km)dip - of rupture (in degrees)width - down-dip rupture width (in km)zTop - depth to the top of the rupture (in km)zHyp - hypocentral depth (in km)rake - of rupturevs30 - average shear wave velocity in top 30 m (in m/sec)vsInf - whether vs30 is an inferred or measured valuez1p0 - depth to Vs=1.0 km/sec (in km)z2p5 - depth to Vs=2.5 km/sec (in km)public static GmmInput.Builder builder()
GmmInput builder that requires all fields to be
explicitely set. This builder is stateful and may be reused (by a single
thread) preserving previously set fields. However, repeat calls of builder
methods are not permitted until build() has been called.GmmInput.Builderpublic String toString()