|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.cybershake.ERF2RuptureForSTF_Generator
public class ERF2RuptureForSTF_Generator
Title: ERF2RuptureForSTF_Generator
Description: This class provides with the capability of dumping the String represenation of a ProbEqkRupture in a file. It creates a directory as specified by the user and puts all the ruptures file in it. It also creates a Site file that specifies which source and rupture were in its radius of cuttoff-distance.
This class also provides the user with the functionality of computing region bounds around a given site which will let user which sources and rupture can affect a given Site.
| Constructor Summary | |
|---|---|
ERF2RuptureForSTF_Generator(AbstractERF eqkRupForecast,
Site site,
double cuttOffDistance)
|
|
| Method Summary | |
|---|---|
void |
getEqkRupturesAsStringNearSite(String directoryName)
This function creates ruptures files in the specified directory, if it already does not exists. |
ArrayList |
getEqkRupturesNearSite()
Returns the list of the EqkRupture for a Site. |
double |
getMaxDepthForRuptureInRegionBounds()
Returns the maximum depth for which any given rupture in a given geographic region extends. |
HashMap |
getProbEqkRuptureIdentifiersNearSite()
Returns the Hashmap for the EqkRuptures with key being the SourceIndex and values being the ArrayList of the rupture indicies. |
Region |
getSiteRegionBounds()
Returns the regional bounds of the largest rectangular region around the site that include all the ruptures surface locations within the range of provided distance. |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ERF2RuptureForSTF_Generator(AbstractERF eqkRupForecast,
Site site,
double cuttOffDistance)
| Method Detail |
|---|
public ArrayList getEqkRupturesNearSite()
public void getEqkRupturesAsStringNearSite(String directoryName)
directoryName - String Name of the directory in which rupture files are
to be createdpublic HashMap getProbEqkRuptureIdentifiersNearSite()
eqkRupForecast - EqkRupForecastAPIsite - Sitedistance - double
public Region getSiteRegionBounds()
public double getMaxDepthForRuptureInRegionBounds()
public static void main(String[] args)
args - String[]
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||