org.opensha.sha.earthquake.rupForecastImpl.Frankel96
Class Frankel96_EqkRupForecast

java.lang.Object
  extended by org.opensha.sha.earthquake.AbstractERF
      extended by org.opensha.sha.earthquake.rupForecastImpl.Frankel96.Frankel96_EqkRupForecast
All Implemented Interfaces:
Serializable, Comparable<BaseERF>, Iterable<ProbEqkSource>, EventListener, Named, XMLSaveable, ParameterChangeListener, TimeSpanChangeListener, BaseERF, ERF

public class Frankel96_EqkRupForecast
extends AbstractERF

Title: Frankel96_EqkRupForecast

Description:Frankel 1996 Earthquake Rupture Forecast. This class reads a single file for the fault sources, and another file for the background seismicity, and then creates the USGS/CGS 1996 California ERF. This does not yet include any C zones.

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
: Nitin Gupta, Vipin Gupta, and Edward Field
See Also:
Serialized Form

Field Summary
static String BACK_SEIS_EXCLUDE
           
static String BACK_SEIS_INCLUDE
           
static String BACK_SEIS_NAME
           
static String BACK_SEIS_ONLY
           
protected static FaultException ERR
          used for error checking
static String FAULT_MODEL_FRANKEL
           
static String FAULT_MODEL_NAME
           
static String FAULT_MODEL_STIRLING
           
static String NAME
           
 
Fields inherited from class org.opensha.sha.earthquake.AbstractERF
adjustableParams, nthRupIndicesForSource, parameterChangeFlag, rupIndexForNthRup, srcIndexForNthRup, timeSpan, totNumRups, XML_METADATA_NAME
 
Constructor Summary
Frankel96_EqkRupForecast()
          No argument constructor
 
Method Summary
 String getName()
          Return the name for this class
 int getNumSources()
          Get the number of earthquake sources
 ProbEqkSource getSource(int iSource)
          Returns the ith earthquake source
 ArrayList getSourceList()
          Get the list of all earthquake sources.
static void main(String[] args)
           
 void updateForecast()
          update the forecast
 
Methods inherited from class org.opensha.sha.earthquake.AbstractERF
baseERF_FromXML, baseERF_ToXML, compareTo, drawRandomEventSet, fromXMLMetadata, getAdjustableParameterList, getApplicableRegion, getIncludedTectonicRegionTypes, getNumRuptures, getParameter, getRupture, getRuptureClone, getSourceClone, getTimeSpan, iterator, parameterChange, setParameter, setParameter, setParameterChangeFlag, setTimeSpan, timeSpanChange, toXMLMetadata, updateAndSaveForecast
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static String NAME

ERR

protected static final FaultException ERR
used for error checking


FAULT_MODEL_NAME

public static final String FAULT_MODEL_NAME

FAULT_MODEL_FRANKEL

public static final String FAULT_MODEL_FRANKEL

FAULT_MODEL_STIRLING

public static final String FAULT_MODEL_STIRLING

BACK_SEIS_NAME

public static final String BACK_SEIS_NAME

BACK_SEIS_INCLUDE

public static final String BACK_SEIS_INCLUDE

BACK_SEIS_EXCLUDE

public static final String BACK_SEIS_EXCLUDE

BACK_SEIS_ONLY

public static final String BACK_SEIS_ONLY
Constructor Detail

Frankel96_EqkRupForecast

public Frankel96_EqkRupForecast()
No argument constructor

Method Detail

getSource

public ProbEqkSource getSource(int iSource)
Returns the ith earthquake source

Parameters:
iSource - : index of the source needed
Returns:
the source at idx

getNumSources

public int getNumSources()
Get the number of earthquake sources

Returns:
integer

getSourceList

public ArrayList getSourceList()
Get the list of all earthquake sources.

Specified by:
getSourceList in interface ERF
Overrides:
getSourceList in class AbstractERF
Returns:
ArrayList of Prob Earthquake sources

getName

public String getName()
Return the name for this class

Returns:
: return the name for this class

updateForecast

public void updateForecast()
update the forecast


main

public static void main(String[] args)