|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.earthquake.griddedForecast.MagFreqDistsForFocalMechs
public class MagFreqDistsForFocalMechs
Title: HypoMagFreqDistAtLoc
Description: This stores a list magFreqDists with associated a list of focal mechanisms (each must have the same number in the list unless the focal mech list is null).
| Field Summary | |
|---|---|
protected FocalMechanism[] |
focalMechanism
|
protected IncrementalMagFreqDist[] |
magFreqDist
|
| Constructor Summary | |
|---|---|
MagFreqDistsForFocalMechs(IncrementalMagFreqDist magDist)
Class Constructor. |
|
MagFreqDistsForFocalMechs(IncrementalMagFreqDist[] magDist)
Class Constructor. |
|
MagFreqDistsForFocalMechs(IncrementalMagFreqDist[] magDist,
FocalMechanism[] focalMechanism)
Class constructor. |
|
MagFreqDistsForFocalMechs(IncrementalMagFreqDist magDist,
FocalMechanism focalMechanism)
Class constructor. |
|
MagFreqDistsForFocalMechs(IncrementalMagFreqDist magDist,
FocalMechanism[] focalMechanism,
double[] wt)
This constructor allows a user to give a single magDist, a list of focalMechanisms, and a list of weights. |
|
| Method Summary | |
|---|---|
FocalMechanism |
getFirstFocalMech()
Returns the first MagFreqDist from the list. |
IncrementalMagFreqDist |
getFirstMagFreqDist()
Returns the first MagFreqDist from the list. |
FocalMechanism |
getFocalMech(int index)
|
FocalMechanism[] |
getFocalMechanismList()
Returns the list of Focal Mechanism. |
IncrementalMagFreqDist |
getMagFreqDist(int index)
|
IncrementalMagFreqDist[] |
getMagFreqDistList()
Returns the list of MagFreqDists. |
int |
getNumFocalMechs()
|
int |
getNumMagFreqDists()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IncrementalMagFreqDist[] magFreqDist
protected FocalMechanism[] focalMechanism
| Constructor Detail |
|---|
public MagFreqDistsForFocalMechs(IncrementalMagFreqDist[] magDist)
magDist - IncrementalMagFreqDist[] list of MagFreqDist.public MagFreqDistsForFocalMechs(IncrementalMagFreqDist magDist)
magDist - IncrementalMagFreqDist MagFreqDist.
public MagFreqDistsForFocalMechs(IncrementalMagFreqDist[] magDist,
FocalMechanism[] focalMechanism)
magDist - IncrementalMagFreqDist[] list of magFreqDist, same as number of focal mechanisms.focalMechanism - FocalMechanism[] list of focal mechanism for a given location.
public MagFreqDistsForFocalMechs(IncrementalMagFreqDist magDist,
FocalMechanism focalMechanism)
magDist - IncrementalMagFreqDistfocalMechanism - FocalMechanism
public MagFreqDistsForFocalMechs(IncrementalMagFreqDist magDist,
FocalMechanism[] focalMechanism,
double[] wt)
magDist - an IncrementalMagFreqDist.focalMechanism - FocalMechanism[] list of focal mechanism for a given location.wts - - a list os weights that must be in the same order as FocalMechanism[].| Method Detail |
|---|
public FocalMechanism[] getFocalMechanismList()
public IncrementalMagFreqDist[] getMagFreqDistList()
public int getNumMagFreqDists()
public int getNumFocalMechs()
public IncrementalMagFreqDist getMagFreqDist(int index)
public FocalMechanism getFocalMech(int index)
public IncrementalMagFreqDist getFirstMagFreqDist()
public FocalMechanism getFirstFocalMech()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||