edu.sc.seis.TauP
Class VelocityLayer

java.lang.Object
  |
  +--edu.sc.seis.TauP.VelocityLayer

public class VelocityLayer
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

The VelocityModelLayer class stores and manipulates a singly layer. An entire velocity model is implemented as an Vector of layers.

See Also:
Serialized Form

Field Summary
 double botDensity
           
 double botDepth
           
 double botPVelocity
           
 double botQp
           
 double botQs
           
 double botSVelocity
           
 double topDensity
           
 double topDepth
           
 double topPVelocity
           
 double topQp
           
 double topQs
           
 double topSVelocity
           
 
Constructor Summary
VelocityLayer()
           
VelocityLayer(int myLayerNumber)
           
 
Method Summary
 java.lang.Object clone()
           
 double evaluateAt(double depth, char materialProperty)
           
 double evaluateAtBottom(char materialProperty)
           
 double evaluateAtTop(char materialProperty)
           
static VelocityLayer readFromStream(java.io.DataInputStream dis)
           
 java.lang.String toString()
           
 void writeToStream(java.io.DataOutputStream dos)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

topDepth

public double topDepth

botDepth

public double botDepth

topPVelocity

public double topPVelocity

botPVelocity

public double botPVelocity

topSVelocity

public double topSVelocity

botSVelocity

public double botSVelocity

topDensity

public double topDensity

botDensity

public double botDensity

topQp

public double topQp

botQp

public double botQp

topQs

public double topQs

botQs

public double botQs
Constructor Detail

VelocityLayer

public VelocityLayer()

VelocityLayer

public VelocityLayer(int myLayerNumber)
Method Detail

clone

public java.lang.Object clone()

evaluateAtBottom

public double evaluateAtBottom(char materialProperty)
                        throws NoSuchMatPropException

evaluateAtTop

public double evaluateAtTop(char materialProperty)
                     throws NoSuchMatPropException

evaluateAt

public double evaluateAt(double depth,
                         char materialProperty)
                  throws NoSuchMatPropException

writeToStream

public void writeToStream(java.io.DataOutputStream dos)
                   throws java.io.IOException

readFromStream

public static VelocityLayer readFromStream(java.io.DataInputStream dis)
                                    throws java.io.IOException,
                                           java.lang.ClassNotFoundException,
                                           java.lang.IllegalAccessException,
                                           java.lang.InstantiationException

toString

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