|
||||||||||
| 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.Frankel02.Frankel02_TypeB_EqkSource
public class Frankel02_TypeB_EqkSource
Title: Frankel02_TypeB_EqkSource
Description: This implements Frankel's floating-rupture Gutenberg Richter source used in the 2002 version of his code. We made this, rather than using the more general FloatingPoissonFaultSource only for enhanced performance (e.g., no need to float down dip or to support Area(Mag) uncertainties.
Copyright: Copyright (c) 2002
Company:
| Field Summary | |
|---|---|
protected double |
duration
|
| Fields inherited from class org.opensha.sha.earthquake.ProbEqkSource |
|---|
isPoissonian, name |
| Constructor Summary | |
|---|---|
Frankel02_TypeB_EqkSource()
empty constructor |
|
Frankel02_TypeB_EqkSource(IncrementalMagFreqDist magFreqDist,
AbstractEvenlyGriddedSurfaceWithSubsets surface,
double rupOffset,
double rake,
double duration,
String sourceName)
constructor specifying the values needed for the source |
|
| Method Summary | |
|---|---|
LocationList |
getAllSourceLocs()
It returns a list of all the locations which make up the surface for this source. |
double |
getMinDistance(Site site)
This returns the shortest dist to either end of the fault trace, or to the mid point of the fault trace. |
String |
getName()
get the name of this class |
int |
getNumRuptures()
Get the number of ruptures for this source |
ProbEqkRupture |
getRupture(int nthRupture)
This gets the ProbEqkRupture object for the nth Rupture |
AbstractEvenlyGriddedSurfaceWithSubsets |
getSourceSurface()
This gives the entire surface of the source |
static void |
main(String[] args)
this is to test the code |
void |
setAll(IncrementalMagFreqDist magFreqDist,
AbstractEvenlyGriddedSurfaceWithSubsets surface,
double rupOffset,
double rake,
double duration,
String sourceName)
|
void |
setAll(IncrementalMagFreqDist magFreqDist,
AbstractEvenlyGriddedSurfaceWithSubsets surface,
double rupOffset,
double rake,
double duration,
String sourceName,
MagAreaRelationship magAreaRel)
|
void |
setDuration(double yrs)
Set the time span in years |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double duration
| Constructor Detail |
|---|
public Frankel02_TypeB_EqkSource()
public Frankel02_TypeB_EqkSource(IncrementalMagFreqDist magFreqDist,
AbstractEvenlyGriddedSurfaceWithSubsets surface,
double rupOffset,
double rake,
double duration,
String sourceName)
magFreqDist - - any IncrementalMagFreqDistsurface - - any EvenlyGriddedSurfacerupOffset - - floating rupture offset (km)rake - - rake for all rupturesduration - - forecast duration (yrs)sourceName - - source name| Method Detail |
|---|
public void setAll(IncrementalMagFreqDist magFreqDist,
AbstractEvenlyGriddedSurfaceWithSubsets surface,
double rupOffset,
double rake,
double duration,
String sourceName)
public void setAll(IncrementalMagFreqDist magFreqDist,
AbstractEvenlyGriddedSurfaceWithSubsets surface,
double rupOffset,
double rake,
double duration,
String sourceName,
MagAreaRelationship magAreaRel)
public AbstractEvenlyGriddedSurfaceWithSubsets getSourceSurface()
EqkSource
public int getNumRuptures()
ProbEqkSource
getNumRuptures in interface EqkSourcegetNumRuptures in class ProbEqkSourcepublic ProbEqkRupture getRupture(int nthRupture)
getRupture in interface EqkSourcegetRupture in class ProbEqkSourcepublic void setDuration(double yrs)
yrs - : timeSpan as specified in Number of yearspublic double getMinDistance(Site site)
getMinDistance in class ProbEqkSourcesite -
public String getName()
getName in interface NamedgetName in class ProbEqkSourcepublic static void main(String[] args)
args - public LocationList getAllSourceLocs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||