|
||||||||||
| 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.WGCEP_UCERF_2_Final.griddedSeis.Point2Vert_FaultPoisSource
public class Point2Vert_FaultPoisSource
Title: Point2Vert_FaultPoisSource
Description: For a given Location, IncrementalMagFreqDist (of Poissonian rates), MagLengthRelationship, and duration, this creates a vertically dipping, ProbEqkRupture for each magnitude (zero rates are not filtered out!). Each finite rupture is centered on the given Location. A user-defined strike will be used if given, otherwise an random stike will be computed and applied, or a cross-hair source can be applied (two perpendicular faults). One can also specify a magCutOff (magnitudes less than or equal to this will be treated as point sources). This assumes that the duration units are the same as those for the rates in the IncrementalMagFreqDist.
* @author Edward Field
| Field Summary |
|---|
| Fields inherited from class org.opensha.sha.earthquake.ProbEqkSource |
|---|
isPoissonian |
| Constructor Summary | |
|---|---|
Point2Vert_FaultPoisSource(Location loc,
IncrementalMagFreqDist magFreqDist,
MagLengthRelationship magLengthRelationship,
double duration,
double magCutOff,
double fracStrikeSlip,
double fracNormal,
double fracReverse,
boolean isCrossHair)
The Constructor for the case where either a random strike is computed and applied, or a cross-hair source is applied (rather than assigned) |
|
Point2Vert_FaultPoisSource(Location loc,
IncrementalMagFreqDist magFreqDist,
MagLengthRelationship magLengthRelationship,
double strike,
double duration,
double magCutOff,
double fracStrikeSlip,
double fracNormal,
double fracReverse)
The Full Constructor |
|
| Method Summary | |
|---|---|
LocationList |
getAllSourceLocs()
It returns a list of all the locations which make up the surface for this source. |
double |
getDuration()
This gets the duration used in computing Poisson probabilities |
double |
getMinDistance(Site site)
This returns the shortest horizontal dist to the point source. |
String |
getName()
get the name of this class |
int |
getNumRuptures()
Get the number of ruptures for this source |
ProbEqkRupture |
getRupture(int nthRupture)
This makes and returns the nth probEqkRupture for this source. |
RuptureSurface |
getSourceSurface()
This approximates the source as a point at 1.0 km depth. |
static void |
main(String[] args)
|
void |
setAll(Location loc,
IncrementalMagFreqDist magFreqDist,
MagLengthRelationship magLengthRelationship,
double duration,
double fracStrikeSlip,
double fracNormal,
double fracReverse)
This computes a random strike and then builds the list of magnitudes, rates, and finite-rupture surfaces using the given MagLenthRelationship. |
void |
setAll(Location loc,
IncrementalMagFreqDist magFreqDist,
MagLengthRelationship magLengthRelationship,
double strike,
double duration,
double fracStrikeSlip,
double fracNormal,
double fracReverse)
This builds the list of magnitudes, rates, and finite-rupture surfaces using the given strike and MagLenthRelationship. |
void |
setDuration(double duration)
This sets the duration used in computing Poisson probabilities. |
void |
setName(String name)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Point2Vert_FaultPoisSource(Location loc,
IncrementalMagFreqDist magFreqDist,
MagLengthRelationship magLengthRelationship,
double strike,
double duration,
double magCutOff,
double fracStrikeSlip,
double fracNormal,
double fracReverse)
loc - - the Location of the point sourcemagFreqDist - - the mag-freq-dist for the point sourcemagLengthRelationship - - A relationship for computing length from magnitudestrike - - the strike of the finite SS faultduration - - the forecast durationmagCutOff - - below (and equal) to this value a PointSurface will be appliedfracStrikeSlip - -fracNormal - -fracReverse - -
public Point2Vert_FaultPoisSource(Location loc,
IncrementalMagFreqDist magFreqDist,
MagLengthRelationship magLengthRelationship,
double duration,
double magCutOff,
double fracStrikeSlip,
double fracNormal,
double fracReverse,
boolean isCrossHair)
loc - - the Location of the point sourcemagFreqDist - - the mag-freq-dist for the point sourcemagLengthRelationship - - A relationship for computing length from magnitudeduration - - the forecast durationmagCutOff - - below (and equal) to this value a PointSurface will be appliedfracStrikeSlip - -fracNormal - -fracReverse - -isCrossHair - - tells whether to apply random strike or cross-hair source| Method Detail |
|---|
public void setAll(Location loc,
IncrementalMagFreqDist magFreqDist,
MagLengthRelationship magLengthRelationship,
double duration,
double fracStrikeSlip,
double fracNormal,
double fracReverse)
loc - magFreqDist - magLengthRelationship - duration - fracStrikeSlip - -fracNormal - -fracReverse - -
public void setAll(Location loc,
IncrementalMagFreqDist magFreqDist,
MagLengthRelationship magLengthRelationship,
double strike,
double duration,
double fracStrikeSlip,
double fracNormal,
double fracReverse)
loc - magFreqDist - magLengthRelationship - strike - duration - fracStrikeSlip - -fracNormal - -fracReverse - -public LocationList getAllSourceLocs()
getAllSourceLocs in interface EqkSourcepublic RuptureSurface getSourceSurface()
getSourceSurface in interface EqkSourcepublic int getNumRuptures()
ProbEqkSource
getNumRuptures in interface EqkSourcegetNumRuptures in class ProbEqkSourcepublic ProbEqkRupture getRupture(int nthRupture)
getRupture in interface EqkSourcegetRupture in class ProbEqkSourcepublic void setDuration(double duration)
duration - public double getDuration()
duration - public double getMinDistance(Site site)
getMinDistance in class ProbEqkSourcesite -
public String getName()
getName in interface NamedgetName in class ProbEqkSourcepublic void setName(String name)
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||