Package edu.sc.seis.TauP
Class CriticalDepth
java.lang.Object
edu.sc.seis.TauP.CriticalDepth
- All Implemented Interfaces:
Serializable,Cloneable
Utility class to keep track of criticalpoints (discontinuities or reversals
in slowness gradient) within slowness and velocity models.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()doublegetDepth()intgetLayerNum(boolean isPWave) intintintvoidsetDepth(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)
-
Constructor Details
-
CriticalDepth
public CriticalDepth(double depth, int velLayerNum, int PLayerNum, int SLayerNum)
-
-
Method Details
-
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
-
setDepth
public void setDepth(double depth) -
getDepth
public double getDepth()
-