public class Site extends Object implements Named
Site is its location. Not all
GroundMotionModels will use all fields and additional fields may be
added at any time in the future.
Terminology:
Vs30: Average shear wave velocity down to a depth of 30 m,
in units of m/s. This value may be inferred or measured (see
vsInferred).z1.0: Depth to a shear wave velocity of 1.0 km/sec, in
units of km.z2.5: Depth to a shear wave velocity of 2.5 km/sec, in
units of km.Both z1.0 and z2.5, collectively referred to as
basin-terms, have default values of Double.NaN. When supplied
with the default, those GroundMotionModels that support basin terms
will use an author defined model, typically based on Vs30, to compute
basin amplification (or demplification).
Note: If a CalcConfig.SiteData.basinDataProvider has been
set, any non-null or non-NaN z1p0 or z2p5
values supplied by the provider take precedence over defaults or recent calls
to the builder.
| Modifier and Type | Class and Description |
|---|---|
static class |
Site.Builder
A reusable
Site builder. |
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
KEYS |
Location |
location
The location of this site.
|
String |
name
The site name.
|
static String |
NO_NAME
The name used for a
Site with no supplied name. |
static double |
VS_30_DEFAULT
Default
vs30 value: 760 m/s. |
static boolean |
VS_INF_DEFAULT
Default
vsInferred inferred value: true. |
double |
vs30
The average shear-wave velocity down to 30 meters depth.
|
static Range<Double> |
VS30_RANGE
Supported
vs30 values: [150..2000] m/s. |
boolean |
vsInferred
Whether Vs30 was inferred,
true, or measured, false. |
double |
z1p0
Depth to the shear-wave velocity horizon of 1.0 km/s, in km.
|
static double |
Z1P0_DEFAULT
|
static Range<Double> |
Z1P0_RANGE
Supported
z1p0 values: [0..5] km. |
double |
z2p5
Depth to the shear-wave velocity horizon of 2.5 km/s, in km.
|
static double |
Z2P5_DEFAULT
|
static Range<Double> |
Z2P5_RANGE
Supported
z2p5 values: [0..10] km. |
| Modifier and Type | Method and Description |
|---|---|
static Site.Builder |
builder()
Return a fresh
Site.Builder. |
String |
name()
Returns an object's display name.
|
String |
toString() |
public static final String NO_NAME
Site with no supplied name.public static final double VS_30_DEFAULT
vs30 value: 760 m/s.public static final boolean VS_INF_DEFAULT
vsInferred inferred value: true.public static final double Z1P0_DEFAULT
public static final double Z2P5_DEFAULT
public final String name
public final Location location
Site.Builder.public final double vs30
Default: 760.0 m/s
public final boolean vsInferred
true, or measured, false.
Default: true (inferred)
public final double z1p0
Default: NaN
(GroundMotionModels will use a default
value or model)
public final double z2p5
Default: NaN
(GroundMotionModels will use a default
value or model)
public String name()
Namedpublic static Site.Builder builder()
Site.Builder.