|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sc.seis.TauP.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. |
java.lang.Object |
clone()
|
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? |
void |
setBotDepth(double botDepth)
|
void |
setBotP(double botP)
|
void |
setTopDepth(double topDepth)
|
void |
setTopP(double topP)
|
java.lang.String |
toString()
returns a String description of this SlownessLayer. |
boolean |
validate()
|
Methods inherited from class java.lang.Object |
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 void setTopP(double topP)
public double getTopP()
public void setBotP(double botP)
public double getBotP()
public void setTopDepth(double topDepth)
public double getTopDepth()
public void setBotDepth(double botDepth)
public double getBotDepth()
public boolean isZeroThickness()
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.Object clone()
public java.lang.String toString()
public boolean validate() throws SlownessModelException
SlownessModelException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |