org.opensha.sha.cybershake.bombay
Class BombayBeachHazardCurveCalc

java.lang.Object
  extended by org.opensha.sha.cybershake.bombay.BombayBeachHazardCurveCalc
All Implemented Interfaces:
RuptureProbabilityModifier, RuptureVariationProbabilityModifier

public class BombayBeachHazardCurveCalc
extends Object
implements RuptureVariationProbabilityModifier


Field Summary
static Location BOMBAY_LOC
          The location of the M4.8 event
static Location COYOTE_CREEK
           
static Location PARKFIELD_LOC
           
static Location PICO_RIVERA_LOC
           
static Location YUCAIPA_LOC
           
 
Constructor Summary
BombayBeachHazardCurveCalc(DBAccess db, double increaseMultFactor, Location hypoLocation, double maxDistance, String sourceNameConstr, boolean useDepth)
           
 
Method Summary
 double getModifiedProb(int sourceID, int rupID, double originalProb)
          This method should return the modified probability for the given source/rup ID combination.
 ArrayList<Integer> getModVariations(int sourceID, int rupID)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOMBAY_LOC

public static final Location BOMBAY_LOC
The location of the M4.8 event


PARKFIELD_LOC

public static final Location PARKFIELD_LOC

PICO_RIVERA_LOC

public static final Location PICO_RIVERA_LOC

YUCAIPA_LOC

public static final Location YUCAIPA_LOC

COYOTE_CREEK

public static final Location COYOTE_CREEK
Constructor Detail

BombayBeachHazardCurveCalc

public BombayBeachHazardCurveCalc(DBAccess db,
                                  double increaseMultFactor,
                                  Location hypoLocation,
                                  double maxDistance,
                                  String sourceNameConstr,
                                  boolean useDepth)
Method Detail

main

public static void main(String[] args)

getModVariations

public ArrayList<Integer> getModVariations(int sourceID,
                                           int rupID)
Specified by:
getModVariations in interface RuptureVariationProbabilityModifier

getModifiedProb

public double getModifiedProb(int sourceID,
                              int rupID,
                              double originalProb)
Description copied from interface: RuptureProbabilityModifier
This method should return the modified probability for the given source/rup ID combination.

Specified by:
getModifiedProb in interface RuptureProbabilityModifier
Returns: