Package gov.usgs.earthquake.nshmp.model
Class SystemRuptureSet
java.lang.Object
gov.usgs.earthquake.nshmp.model.IterableRuptureSet
gov.usgs.earthquake.nshmp.model.SystemRuptureSet
- All Implemented Interfaces:
RuptureSet,Iterable<Rupture>
Fault-system rupture set. May be used fro crustal faults or subduction
interface.
- Author:
- U.S. Geological Survey
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContainer of summary data for this sytem rupture set.final classA single rupture in a fault system. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckDistance(Location site, double distance) Returntrueif this rupture set is within the supplied distance from a location,falseotherwise.booleanfeatures()The GeoJSON features for this rupture set.get(int index) Return the rupture at the specified index.gmmTree()Return the ground motion model logic tree associated with this Rupture Set.inthashCode()intid()The numeric ID of this rupture set.iterator()The closest point on the fault trace, relative to the supplied siteLocation.mfdTree()The logic tree of MFDs in this rupture set.name()The display name of the rupture set.section(int index) The fault section surface corresponding to the suppliedindex.sectionName(int index) The name of the fault section corresponding to the suppliedindex.setting()TheTectonicSettingof this rupture set.intsize()The number of ruptures in this rupture set.static Function<SystemRuptureSet, InputList> toInputsFunction(Site site) Return an instance of aFunctionthat converts aSystemRuptureSetto a ground motion modelInputList.static Function<SystemRuptureSet, IntervalArray> toRatesFunction(Location location, double distance, IntervalArray modelMfd) Return an instance of aFunctionthat converts aSystemRuptureSetto a ground motion modelInputList.toString()type()TheSourceTypeidentifier.doubleweight()The weight of theSourceTreebranch to which this rupture set is attached.Methods inherited from class gov.usgs.earthquake.nshmp.model.IterableRuptureSet
checkDistanceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface gov.usgs.earthquake.nshmp.model.RuptureSet
totalMfd
-
Field Details
-
stats
-
-
Method Details
-
size
public int size()Description copied from class:IterableRuptureSetThe number of ruptures in this rupture set.- Specified by:
sizein interfaceRuptureSet- Specified by:
sizein classIterableRuptureSet
-
get
Description copied from class:IterableRuptureSetReturn the rupture at the specified index.- Specified by:
getin classIterableRuptureSet- Parameters:
index- of the rupture to retrieve.
-
features
Description copied from interface:RuptureSetThe GeoJSON features for this rupture set. In many cases only a singleFeaturewill be returned. -
mfdTree
Description copied from interface:RuptureSetThe logic tree of MFDs in this rupture set. -
hashCode
public int hashCode() -
equals
-
iterator
-
checkDistance
Description copied from class:IterableRuptureSetReturntrueif this rupture set is within the supplied distance from a location,falseotherwise.- Specified by:
checkDistancein classIterableRuptureSet- Parameters:
site- of interestdistance- to check
-
section
The fault section surface corresponding to the suppliedindex.This method exists because system rupture sets are complex and commonly encapsulate 100K+ sources. The results of a hazard calculation and disaggregation are therefore better represented in the context of individual fault sections, rather than on a per-source basis.
- Parameters:
index- of fault section surface to retrieve
-
sectionName
The name of the fault section corresponding to the suppliedindex.- Parameters:
index- of fault section name to retrieve
-
location
The closest point on the fault trace, relative to the supplied siteLocation. -
toRatesFunction
public static Function<SystemRuptureSet,IntervalArray> toRatesFunction(Location location, double distance, IntervalArray modelMfd) Return an instance of aFunctionthat converts aSystemRuptureSetto a ground motion modelInputList.- Parameters:
location- with which to initialize instance.distance- if interest (relevant source radius)modelMfd- MFD to populate
-
toInputsFunction
Return an instance of aFunctionthat converts aSystemRuptureSetto a ground motion modelInputList.- Parameters:
site- with which to initialize instance.
-
name
Description copied from interface:RuptureSetThe display name of the rupture set.- Specified by:
namein interfaceRuptureSet
-
id
public int id()Description copied from interface:RuptureSetThe numeric ID of this rupture set.- Specified by:
idin interfaceRuptureSet
-
setting
Description copied from interface:RuptureSetTheTectonicSettingof this rupture set.- Specified by:
settingin interfaceRuptureSet
-
type
Description copied from interface:RuptureSetTheSourceTypeidentifier.- Specified by:
typein interfaceRuptureSet
-
gmmTree
Description copied from interface:RuptureSetReturn the ground motion model logic tree associated with this Rupture Set.- Specified by:
gmmTreein interfaceRuptureSet
-
weight
public double weight()Description copied from interface:RuptureSetThe weight of theSourceTreebranch to which this rupture set is attached.- Specified by:
weightin interfaceRuptureSet
-
toString
-