|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sc.seis.TauP.SlownessLayer
public class SlownessLayer
Class to hold a single slowness layer sample.
Constructor Summary | |
---|---|
SlownessLayer(double topP,
double topDepth,
double botP,
double botDepth)
top slowness, top depth, bottom slowness, bottom depth |
|
SlownessLayer(VelocityLayer vLayer,
boolean isPWave)
Compute the slowness layer from a velocity layer. |
|
SlownessLayer(VelocityLayer vLayer,
boolean isPWave,
double radiusOfEarth)
Compute the slowness layer from a velocity layer. |
|
SlownessLayer(VelocityLayer vLayer,
boolean spherical,
double radiusOfEarth,
boolean isPWave)
Compute the slowness layer from a velocity layer. |
Method Summary | |
---|---|
double |
bullenDepthFor(double rayParam,
double radiusOfEarth)
Finds the depth for a ray parameter within this layer. |
TimeDist |
bullenRadialSlowness(double p,
double radiusOfEarth)
Calculates the time and distance (in radians) increments accumulated by a ray of spherical ray parameter p when passing through this layer. |
boolean |
containsDepth(double depth)
|
double |
evaluateAt_bullen(double depth,
double radiusOfEarth)
Finds the slowness at the given depth. |
double |
getBotDepth()
|
double |
getBotP()
|
double |
getTopDepth()
|
double |
getTopP()
|
boolean |
isZeroThickness()
Is the layer a zero thickness layer, ie a total reflection? |
java.lang.String |
toString()
returns a String description of this SlownessLayer. |
boolean |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SlownessLayer(double topP, double topDepth, double botP, double botDepth)
public SlownessLayer(VelocityLayer vLayer, boolean spherical, double radiusOfEarth, boolean isPWave)
public SlownessLayer(VelocityLayer vLayer, boolean isPWave, double radiusOfEarth)
public SlownessLayer(VelocityLayer vLayer, boolean isPWave)
Method Detail |
---|
public double getTopP()
public double getBotP()
public double getTopDepth()
public double getBotDepth()
public boolean isZeroThickness()
public boolean containsDepth(double depth)
public double evaluateAt_bullen(double depth, double radiusOfEarth) throws SlownessModelException
SlownessModelException
public TimeDist bullenRadialSlowness(double p, double radiusOfEarth) throws SlownessModelException
SlownessModelException
- occurs if the calculated distance or time increments are
negative or NaN, this indicates a bug in the code (and
hopefully will never happen).public double bullenDepthFor(double rayParam, double radiusOfEarth) throws SlownessModelException
SlownessModelException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean validate() throws SlownessModelException
SlownessModelException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |