|
||||||||||
| 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.UnsegmentedSource
public class UnsegmentedSource
Title: UnsegmentedSource
Description: The EmpricalModel option only influence what's returned by the getRupture() method (it doesn't influence any other diagnostics included what's returned by getMagFreqDist). Need to add floating in down-dip direction since NGAs will use this If Asismicity is applied as a reduction of area, then effective all down-dip widths (DDW) are reduced, and given a single value applied to all segments (DDW = the total reduced area divided by total length).
Copyright: Copyright (c) 2002
Company:
| Field Summary | |
|---|---|
static int |
CENTERED_DOWNDIP_FLOATER
|
static double |
DEFAULT_DURATION
|
protected double |
duration
|
static int |
FULL_DDW_FLOATER
|
protected String |
NAME
|
protected ArbitrarilyDiscretizedFunc |
origSlipRateFunc
|
protected ArbitrarilyDiscretizedFunc |
predSlipRateFunc
|
static int |
STRIKE_AND_DOWNDIP_FLOATER
|
protected LocationList |
surfaceLocList
|
| Fields inherited from class org.opensha.sha.earthquake.ProbEqkSource |
|---|
isPoissonian, name |
| Constructor Summary | |
|---|---|
UnsegmentedSource(FaultSegmentData segmentData,
EmpiricalModel empiricalModel,
double rupOffset,
double weight,
double empiricalModelWeight,
double duration,
boolean applyCyberShakeDDW_Corr,
int floaterType,
double fixMag)
Description: The constructs the source for the average UCERF2 logic tree branch, where param values have been hard coded. |
|
UnsegmentedSource(FaultSegmentData segmentData,
EmpiricalModel empiricalModel,
double rupOffset,
double b_valueGR_1,
double b_valueGR_2,
double weight,
double empiricalModelWeight,
double duration,
double moRate,
double fractCharVsGR,
boolean applyCyberShakeDDW_Corr,
int floaterType,
double fixMag)
this is used for making A-Faults sources for Average UCERF2 Description: The constructs the source for the average UCERF2 logic tree branch, where param values have been hard coded. |
|
UnsegmentedSource(FaultSegmentData segmentData,
MagAreaRelationship magAreaRel,
double fractCharVsGR,
double min_mag,
double max_mag,
int num_mag,
double charMagSigma,
double charMagTruncLevel,
double mag_lowerGR,
double b_valueGR,
double moRateReduction,
double fixMag,
double fixRate,
double meanMagCorrection,
EmpiricalModel empiricalModel,
int floaterType)
Description: The constructs the source as a fraction of charateristic (Gaussian) and GR |
|
| Method Summary | |
|---|---|
protected void |
computeSlipRateAlongFault(ArbitrarilyDiscretizedFunc slipRateFunc,
ArrayList<ArbitrarilyDiscretizedFunc> magBasedFuncs,
boolean isSlipRateCorrection)
Compute the slip rate along fault. |
LocationList |
getAllSourceLocs()
It returns a list of all the locations which make up the surface for this source. |
IncrementalMagFreqDist |
getCharMagFreqDist()
The returns the characteristic mag freq dist if it exists (i.e., the constructor that specifies a fraction of char vs GR was used) |
FaultSegmentData |
getFaultSegmentData()
Get fault segment data |
double |
getFinalAveSegSlipRate(int ithSegment)
Final, implied average, slip rate on the segment |
ArbitrarilyDiscretizedFunc |
getFinalSlipRateAlongFault()
Get final slip Rate along fault |
double |
getFixMag()
Get B Fault Mag Fix (Some B faults have Mag fix which is specified in a text file) |
double |
getFixRate()
Get B Fault Rate Fix (Some B faults have Rate fix which is specified in a text file) |
IncrementalMagFreqDist |
getGR_MagFreqDist()
The returns the GR mag freq dist if it exists (i.e., the constructor that specifies a fraction of char vs GR was used) |
ArrayList<ArbitrarilyDiscretizedFunc> |
getMagBasedFinalSlipRateListAlongFault()
Get Mag Based slip rate func list along the fault. |
IncrementalMagFreqDist |
getMagFreqDist()
Get the Mag Freq Dist for the 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. |
double |
getMomentRate()
Get the reduced moment rate |
double |
getMoRateReduction()
Moment rate reduction |
String |
getName()
get the name of this class |
double[] |
getNormModSlipRateResids()
Compute Normalized Segment Slip-Rate Residuals (where orig slip-rate and stddev are reduces by the fraction of moment rate removed) |
String |
getNSHMP_Char_SrcFileString()
Get NSHMP Char Source File String. |
String |
getNSHMP_GR_SrcFileString()
Get NSHMP GR Source File String. |
int |
getNumRuptures()
Get the number of ruptures for this source |
ArbitrarilyDiscretizedFunc |
getOrigSlipRateAlongFault()
Get Original Slip Rate along fault (e.g., w/ step functions at segment boundaries) |
double |
getPredEventRate(Location loc)
Get rate at a particular location on the fault trace. |
double |
getPredObsEventRate(Location loc)
Get the "observed" rate at a particular location on the fault trace. |
double |
getPredSlipRate(Location loc)
Get rate at a particular location on the fault trace. |
ProbEqkRupture |
getRupture(int nthRupture)
This gets the ProbEqkRupture object for the nth Rupture |
ArbDiscrEmpiricalDistFunc |
getSegmentSlipDist(int ithSegment)
Get Slip Distribution for this segment |
ArbDiscrEmpiricalDistFunc |
getSegmentVisibleSlipDist(int ithSegment)
Get Visible Slip Distribution for this segment |
double |
getSourceGain()
This returns the source gain |
double |
getSourceMag()
This returns of magnitude computed for the characteristic earthquake (and upper mag of the GR) if that constructor was used (no mag PDF given) |
AbstractEvenlyGriddedSurfaceWithSubsets |
getSourceSurface()
This gives the entire surface of the source |
IncrementalMagFreqDist |
getVisibleSourceMagFreqDist()
Get the Mag Freq Dist for "visible" source ruptures |
static void |
main(String[] args)
this is to test the code |
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
public static final double DEFAULT_DURATION
protected String NAME
protected LocationList surfaceLocList
protected ArbitrarilyDiscretizedFunc origSlipRateFunc
protected ArbitrarilyDiscretizedFunc predSlipRateFunc
public static final int FULL_DDW_FLOATER
public static final int STRIKE_AND_DOWNDIP_FLOATER
public static final int CENTERED_DOWNDIP_FLOATER
| Constructor Detail |
|---|
public UnsegmentedSource(FaultSegmentData segmentData,
EmpiricalModel empiricalModel,
double rupOffset,
double weight,
double empiricalModelWeight,
double duration,
boolean applyCyberShakeDDW_Corr,
int floaterType,
double fixMag)
floaterType - - FULL_DDW_FLOATER (0) = only along strike ( rupture full DDW);
STRIKE_AND_DOWNDIP_FLOATER (1) = float along strike and down dip;
CENTERED_DOWNDIP_FLOATER (2) = float along strike & centered down dip
public UnsegmentedSource(FaultSegmentData segmentData,
EmpiricalModel empiricalModel,
double rupOffset,
double b_valueGR_1,
double b_valueGR_2,
double weight,
double empiricalModelWeight,
double duration,
double moRate,
double fractCharVsGR,
boolean applyCyberShakeDDW_Corr,
int floaterType,
double fixMag)
floaterType - - FULL_DDW_FLOATER (0) = only along strike ( rupture full DDW);
STRIKE_AND_DOWNDIP_FLOATER (1) = float along strike and down dip;
CENTERED_DOWNDIP_FLOATER (2) = float along strike & centered down dip
public UnsegmentedSource(FaultSegmentData segmentData,
MagAreaRelationship magAreaRel,
double fractCharVsGR,
double min_mag,
double max_mag,
int num_mag,
double charMagSigma,
double charMagTruncLevel,
double mag_lowerGR,
double b_valueGR,
double moRateReduction,
double fixMag,
double fixRate,
double meanMagCorrection,
EmpiricalModel empiricalModel,
int floaterType)
floaterType - - FULL_DDW_FLOATER (0) = only along strike ( rupture full DDW);
STRIKE_AND_DOWNDIP_FLOATER (1) = float along strike and down dip;
CENTERED_DOWNDIP_FLOATER (2) = float along strike & centered down dip| Method Detail |
|---|
public ArrayList<ArbitrarilyDiscretizedFunc> getMagBasedFinalSlipRateListAlongFault()
protected void computeSlipRateAlongFault(ArbitrarilyDiscretizedFunc slipRateFunc,
ArrayList<ArbitrarilyDiscretizedFunc> magBasedFuncs,
boolean isSlipRateCorrection)
slipRateFunc - isSlipRateCorrection - public ArbitrarilyDiscretizedFunc getFinalSlipRateAlongFault()
public ArbitrarilyDiscretizedFunc getOrigSlipRateAlongFault()
public double getMoRateReduction()
public double getMomentRate()
public double[] getNormModSlipRateResids()
public double getSourceMag()
public double getFixMag()
public double getFixRate()
public FaultSegmentData getFaultSegmentData()
public double getFinalAveSegSlipRate(int ithSegment)
public ArbDiscrEmpiricalDistFunc getSegmentSlipDist(int ithSegment)
ithSegment -
public ArbDiscrEmpiricalDistFunc getSegmentVisibleSlipDist(int ithSegment)
ithSegment -
public IncrementalMagFreqDist getMagFreqDist()
public IncrementalMagFreqDist getCharMagFreqDist()
public IncrementalMagFreqDist getGR_MagFreqDist()
public IncrementalMagFreqDist getVisibleSourceMagFreqDist()
public double getPredSlipRate(Location loc)
loc - distanceCutOff - - rupture included in total if point on surface is within this distance
public double getPredEventRate(Location loc)
loc - distanceCutOff - - rupture included in total if point on surface is within this distance
public double getPredObsEventRate(Location loc)
loc - distanceCutOff - - rupture included in total if point on surface is within this distance
public String getNSHMP_GR_SrcFileString()
public String getNSHMP_Char_SrcFileString()
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 double getSourceGain()
public 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 | |||||||||