Package edu.sc.seis.TauP
Class CriticalDepth
- java.lang.Object
-
- edu.sc.seis.TauP.CriticalDepth
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class CriticalDepth extends java.lang.Object implements java.lang.Cloneable, java.io.SerializableUtility class to keep track of criticalpoints (discontinuities or reversals in slowness gradient) within slowness and velocity models.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CriticalDepth(double depth, int velLayerNum, int PLayerNum, int SLayerNum)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()doublegetDepth()intgetLayerNum(boolean isPWave)intgetPLayerNum()intgetSLayerNum()intgetVelLayerNum()voidsetDepth(double depth)voidsetLayerNum(int layerNum, boolean isPWave)sets slowness layer for waveType waves with this depth at its top.voidsetPLayerNum(int layerNum)voidsetSLayerNum(int layerNum)voidsetVelLayerNum(int layerNum)
-
-
-
Method Detail
-
setVelLayerNum
public void setVelLayerNum(int layerNum)
-
setPLayerNum
public void setPLayerNum(int layerNum)
-
setSLayerNum
public void setSLayerNum(int layerNum)
-
getVelLayerNum
public int getVelLayerNum()
-
getPLayerNum
public int getPLayerNum()
-
getSLayerNum
public int getSLayerNum()
-
setLayerNum
public void setLayerNum(int layerNum, boolean isPWave)sets slowness layer for waveType waves with this depth at its top.
-
getLayerNum
public int getLayerNum(boolean isPWave)
- Returns:
- slowness layer for waveType waves with this depth at its top.
-
clone
public java.lang.Object clone()
- Overrides:
clonein classjava.lang.Object
-
setDepth
public void setDepth(double depth)
-
getDepth
public double getDepth()
-
-