|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.earthquake.ProbEqkSource
org.opensha.sha.earthquake.rupForecastImpl.PointToLineSource
org.opensha.sha.earthquake.rupForecastImpl.PoissonAreaSource
public class PoissonAreaSource
Title: PoissonAreaSource
Description: This is basically a more sophisticated version of the class GriddedRegionPoissonEqkSource.
The options to account for the finiteness of rupture surfaces are the same as provided in the PointToLineSource
class, plus the option to treat all sources as point sources is added included here.
| Field Summary |
|---|
| Fields inherited from class org.opensha.sha.earthquake.rupForecastImpl.PointToLineSource |
|---|
location, maxLength, probEqkRuptureList, rates |
| Fields inherited from class org.opensha.sha.earthquake.ProbEqkSource |
|---|
isPoissonian, name |
| Constructor Summary | |
|---|---|
PoissonAreaSource(Region reg,
double gridResolution,
MagFreqDistsForFocalMechs magFreqDistsForFocalMechs,
ArbitrarilyDiscretizedFunc aveRupTopVersusMag,
double defaultHypoDepth,
double duration,
double minMag)
This constructor treats all ruptures as point sources. |
|
PoissonAreaSource(Region reg,
double gridResolution,
MagFreqDistsForFocalMechs magFreqDistsForFocalMechs,
ArbitrarilyDiscretizedFunc aveRupTopVersusMag,
double defaultHypoDepth,
MagScalingRelationship magScalingRel,
double lowerSeisDepth,
double duration,
double minMag)
This constructor takes a Region, grid resolution (grid spacing), MagFreqDistsForFocalMechs, depth as a function of mag (aveRupTopVersusMag), and a default depth (defaultHypoDepth). |
|
PoissonAreaSource(Region reg,
double gridResolution,
MagFreqDistsForFocalMechs magFreqDistsForFocalMechs,
ArbitrarilyDiscretizedFunc aveRupTopVersusMag,
double defaultHypoDepth,
MagScalingRelationship magScalingRel,
double lowerSeisDepth,
double duration,
double minMag,
int numStrikes,
double firstStrike)
This constructor is the same as the previous one, but rather than using the given or a random strike, this applies a spoked source where several strikes are applied with even spacing in azimuth. |
|
| Method Summary | |
|---|---|
double |
getMinDistance(Site site)
This returns the shortest horizontal dist to the point source (minus half the length of the longest rupture). |
Region |
getRegion()
|
ProbEqkRupture |
getRupture(int nthRupture)
This makes and returns the nth probEqkRupture for this source. |
| Methods inherited from class org.opensha.sha.earthquake.rupForecastImpl.PointToLineSource |
|---|
computeMaxLength, computeNumRuptures, getAllSourceLocs, getDuration, getMinMag, getName, getNumRuptures, getSourceSurface, mkAndAddRuptures, setDuration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PoissonAreaSource(Region reg,
double gridResolution,
MagFreqDistsForFocalMechs magFreqDistsForFocalMechs,
ArbitrarilyDiscretizedFunc aveRupTopVersusMag,
double defaultHypoDepth,
double duration,
double minMag)
reg - gridResolution - magFreqDistsForFocalMechs - aveRupTopVersusMag - defaultHypoDepth - duration - minMag -
public PoissonAreaSource(Region reg,
double gridResolution,
MagFreqDistsForFocalMechs magFreqDistsForFocalMechs,
ArbitrarilyDiscretizedFunc aveRupTopVersusMag,
double defaultHypoDepth,
MagScalingRelationship magScalingRel,
double lowerSeisDepth,
double duration,
double minMag)
public PoissonAreaSource(Region reg,
double gridResolution,
MagFreqDistsForFocalMechs magFreqDistsForFocalMechs,
ArbitrarilyDiscretizedFunc aveRupTopVersusMag,
double defaultHypoDepth,
MagScalingRelationship magScalingRel,
double lowerSeisDepth,
double duration,
double minMag,
int numStrikes,
double firstStrike)
| Method Detail |
|---|
public ProbEqkRupture getRupture(int nthRupture)
getRupture in interface EqkSourcegetRupture in class PointToLineSourcepublic Region getRegion()
public double getMinDistance(Site site)
getMinDistance in class PointToLineSourcesite -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||