Class SystemRuptureSet

  • All Implemented Interfaces:
    RuptureSet, Iterable<Rupture>

    public class SystemRuptureSet
    extends IterableRuptureSet
    Fault-system rupture set. May be used fro crustal faults or subduction interface.
    Author:
    U.S. Geological Survey
    • Method Detail

      • get

        public Rupture get​(int index)
        Description copied from class: IterableRuptureSet
        Return the rupture at the specified index.
        Specified by:
        get in class IterableRuptureSet
        Parameters:
        index - of the rupture to retrieve.
      • features

        public List<Feature> features()
        Description copied from interface: RuptureSet
        The GeoJSON features for this rupture set. In many cases only a single Feature will be returned.
      • mfdTree

        public LogicTree<Mfd> mfdTree()
        Description copied from interface: RuptureSet
        The logic tree of MFDs in this rupture set.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • checkDistance

        public boolean checkDistance​(Location site,
                                     double distance)
        Description copied from class: IterableRuptureSet
        Return true if this rupture set is within the supplied distance from a location, false otherwise.
        Specified by:
        checkDistance in class IterableRuptureSet
        Parameters:
        site - of interest
        distance - to check
      • section

        public GriddedSurface section​(int index)
        The fault section surface corresponding to the supplied index.

        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

        public String sectionName​(int index)
        The name of the fault section corresponding to the supplied index.
        Parameters:
        index - of fault section name to retrieve
      • location

        public Location location​(Location site)
        The closest point on the fault trace, relative to the supplied site Location.
      • toRatesFunction

        public static Function<SystemRuptureSet,​IntervalArray> toRatesFunction​(Location location,
                                                                                     double distance,
                                                                                     IntervalArray modelMfd)
        Return an instance of a Function that converts a SystemRuptureSet to a ground motion model InputList.
        Parameters:
        location - with which to initialize instance.
        distance - if interest (relevant source radius)
        modelMfd - MFD to populate
      • toInputsFunction

        public static Function<SystemRuptureSet,​InputList> toInputsFunction​(Site site)
        Return an instance of a Function that converts a SystemRuptureSet to a ground motion model InputList.
        Parameters:
        site - with which to initialize instance.
      • name

        public String name()
        Description copied from interface: RuptureSet
        The display name of the rupture set.
        Specified by:
        name in interface RuptureSet
      • id

        public int id()
        Description copied from interface: RuptureSet
        The numeric ID of this rupture set.
        Specified by:
        id in interface RuptureSet
      • gmmTree

        public GmmTree gmmTree()
        Description copied from interface: RuptureSet
        Return the ground motion model logic tree associated with this Rupture Set.
        Specified by:
        gmmTree in interface RuptureSet
      • weight

        public double weight()
        Description copied from interface: RuptureSet
        The weight of the SourceTree branch to which this rupture set is attached.
        Specified by:
        weight in interface RuptureSet