org.opensha.sha.faultSurface
Class SimpleFaultData

java.lang.Object
  extended by org.opensha.sha.faultSurface.SimpleFaultData
All Implemented Interfaces:
java.io.Serializable

public class SimpleFaultData
extends java.lang.Object
implements java.io.Serializable

Title: SimpleFaultData

Description: This object contains "simple fault data". This does not check whether the values make sense (e.g., it doesn not check that 0

Version:
1.0
Author:
Sid Hellman, Steven W. Rock, Ned Field
See Also:
Serialized Form

Field Summary
protected static java.lang.String C
           
 
Constructor Summary
SimpleFaultData()
           
SimpleFaultData(double aveDip, double lowerSeisDepth, double upperSeisDepth, FaultTrace faultTrace)
           
SimpleFaultData(double aveDip, double lowerSeisDepth, double upperSeisDepth, FaultTrace faultTrace, double aveDipDir)
           
 
Method Summary
 SimpleFaultData clone()
          Clones the SimpleFaultData.
 double getAveDip()
           
 double getAveDipDir()
           
static SimpleFaultData getCombinedSimpleFaultData(java.util.List<SimpleFaultData> simpleFaultDataList)
          Get a single combined simpleFaultData from multiple SimpleFaultData
 FaultTrace getFaultTrace()
           
 double getLowerSeismogenicDepth()
           
 double getUpperSeismogenicDepth()
           
 void setAveDip(double aveDip)
           
 void setAveDipDir(double aveDipDir)
           
 void setFaultTrace(FaultTrace faultTrace)
           
 void setLowerSeismogenicDepth(double lowerSeismogenicDepth)
           
 void setUpperSeismogenicDepth(double upperSeismogenicDepth)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

C

protected static final java.lang.String C
See Also:
Constant Field Values
Constructor Detail

SimpleFaultData

public SimpleFaultData()

SimpleFaultData

public SimpleFaultData(double aveDip,
                       double lowerSeisDepth,
                       double upperSeisDepth,
                       FaultTrace faultTrace)

SimpleFaultData

public SimpleFaultData(double aveDip,
                       double lowerSeisDepth,
                       double upperSeisDepth,
                       FaultTrace faultTrace,
                       double aveDipDir)
Method Detail

setUpperSeismogenicDepth

public void setUpperSeismogenicDepth(double upperSeismogenicDepth)

getUpperSeismogenicDepth

public double getUpperSeismogenicDepth()

setLowerSeismogenicDepth

public void setLowerSeismogenicDepth(double lowerSeismogenicDepth)

getLowerSeismogenicDepth

public double getLowerSeismogenicDepth()

setAveDip

public void setAveDip(double aveDip)

getAveDip

public double getAveDip()

setAveDipDir

public void setAveDipDir(double aveDipDir)

getAveDipDir

public double getAveDipDir()

setFaultTrace

public void setFaultTrace(FaultTrace faultTrace)

getFaultTrace

public FaultTrace getFaultTrace()

getCombinedSimpleFaultData

public static SimpleFaultData getCombinedSimpleFaultData(java.util.List<SimpleFaultData> simpleFaultDataList)
Get a single combined simpleFaultData from multiple SimpleFaultData

Parameters:
simpleFaultDataList -
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

public SimpleFaultData clone()
Clones the SimpleFaultData. Please note that FaultTrace is not completely cloned

Overrides:
clone in class java.lang.Object