public class AreaSource extends Object implements Source
AreaSource represents a region over
which there is a equal likelihood of earthquake occurrence, as specified by a
single IncrementalMfd.
Internally, an AreaSource distributes ruptures over a grid of
point Sources; the resolution of the grid may scale with distance
from a site according to the assigned AreaSource.GridScaling. An
AreaSource therefore supplies an
iterableForLocation(Location). If no location-dependent scaling is
specified, this custom Iterable's iterator() behaves the same
as the built-in iterator(). If the specified scaling is
location-dependent, the standard iterator() returns ruptures derived
from 0.1° spaced sources.
| Modifier and Type | Class and Description |
|---|---|
static class |
AreaSource.GridScaling
Point source discretization scaling.
|
| Modifier and Type | Method and Description |
|---|---|
LocationList |
border()
Return the border of this
AreaSource. |
int |
id()
A numeric identifier for this
Source. |
Iterable<Rupture> |
iterableForLocation(Location loc)
Return a
Rupture iterator over distributed point Sources
whose spacing is a function of the distance from the supplied Location. |
Iterator<Rupture> |
iterator()
For non-uniform
GridScaling, this iterator returns ruptures derived
from 0.1° spaced sources. |
Location |
location(Location site)
The centroid of this source.
|
List<XySequence> |
mfds()
The MFDs that define earthquake rates for this source.
|
String |
name()
Returns an object's display name.
|
int |
size()
The number of
Ruptures for an AreaSource will vary if
GridScaling is non-uniform. |
SourceType |
type()
The
SourceType identifier. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic String name()
Namedpublic int size()
Ruptures for an AreaSource will vary if
GridScaling is non-uniform. In such cases, this method returns the
number of ruptures that would be expected from 0.1° spaced point sources.public int id()
SourceSource.public SourceType type()
SourceSourceType identifier.public Location location(Location site)
Location.public List<XySequence> mfds()
Sourcepublic LocationList border()
AreaSource.public Iterator<Rupture> iterator()
GridScaling, this iterator returns ruptures derived
from 0.1° spaced sources.