|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.simulators.eqsim_v04.EventRecord
public class EventRecord
This gives information about an event on a specific section (separate event records are used when an event involves multiple sections)
| Constructor Summary | |
|---|---|
EventRecord(ArrayList<RectangularElement> rectElementsList)
No arg constructor |
|
EventRecord(String fileLine,
ArrayList<RectangularElement> rectElementsList)
|
|
| Method Summary | |
|---|---|
void |
addSlipAndElementData(String fileLine)
This extracts and saves the slip and element ID info data from a Slip-Map-Record line, but only if the slip is assigned to a specific element (the element ID on the line is >0). |
void |
addType202_Line(String fileLine)
This adds the element ID from a type 202 line. |
double |
getArea()
|
double |
getDepthHi()
|
double |
getDepthLo()
|
double |
getDuration()
|
int[] |
getElementIDs()
|
double[] |
getElementSlips()
This gives an array of element slips (meters) |
int |
getID()
|
double |
getLength()
|
double |
getMagnitude()
|
double |
getMaxDAS()
|
double |
getMeanSlip()
|
double |
getMinDAS()
|
double |
getMoment()
|
ArrayList<RectangularElement> |
getRectangularElements()
|
int |
getSectionID()
|
double |
getTime()
|
Vertex |
getVertxForMaxDAS()
This returns a vertex corresponding to the maximum DAS (although there may be more than one with the same DAS) |
Vertex |
getVertxForMinDAS()
This returns a vertex corresponding to the minimum DAS (although there may be more than one with the same DAS) |
boolean |
hasElementSlipsAndIDs()
|
void |
setTime(double time)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EventRecord(ArrayList<RectangularElement> rectElementsList)
public EventRecord(String fileLine,
ArrayList<RectangularElement> rectElementsList)
| Method Detail |
|---|
public void addSlipAndElementData(String fileLine)
fileLine - public void addType202_Line(String fileLine)
fileLine - public int getID()
public int getSectionID()
public double getMagnitude()
public double getDuration()
public double getTime()
public void setTime(double time)
public int[] getElementIDs()
public double getMeanSlip()
public double getArea()
public double getLength()
public double getDepthLo()
public double getDepthHi()
public double[] getElementSlips()
public boolean hasElementSlipsAndIDs()
public double getMoment()
public double getMinDAS()
public double getMaxDAS()
public Vertex getVertxForMinDAS()
public Vertex getVertxForMaxDAS()
public ArrayList<RectangularElement> getRectangularElements()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||