public class SlownessLayer
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
double |
bullenDepthFor(double rayParam,
double radiusOfEarth)
Finds the depth for a ray parameter within this layer.
|
TimeDist |
bullenRadialSlowness(double p,
double radiusOfEarth,
boolean downgoing)
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() |
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)
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, boolean downgoing) 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