All Packages Class Hierarchy This Package Previous Next Index
Class edu.sc.seis.TauP.CriticalDepth
edu.sc.seis.TauP.CriticalDepth
- public class CriticalDepth
Utility class to keep track of criticalpoints (discontinuities or
reversals in slowness gradient) within slowness and velocity models.
-
depth
- depth in kilometers at which there is a critical point.
-
PLayerNum
- slowness layer for P waves with this depth at its top.
-
SLayerNum
- slowness layer for S waves with this depth at its top.
-
velLayerNum
- layer number within the velocity model with this depth at its top.
-
CriticalDepth()
-
-
CriticalDepth(double, int, int, int)
-
-
clone()
-
-
getLayerNum(boolean)
-
-
getPLayerNum()
-
-
getSLayerNum()
-
-
getVelLayerNum()
-
-
setLayerNum(int, boolean)
- sets slowness layer for waveType waves with this depth at its top.
-
setPLayerNum(int)
-
-
setSLayerNum(int)
-
-
setVelLayerNum(int)
-
depth
public double depth
- depth in kilometers at which there is a critical point.
velLayerNum
public int velLayerNum
- layer number within the velocity model with this depth at its top.
PLayerNum
public int PLayerNum
- slowness layer for P waves with this depth at its top. This can be PLayers.size() for
the last critical layer.
SLayerNum
public int SLayerNum
- slowness layer for S waves with this depth at its top. This can be SLayers.size() for
the last critical layer.
CriticalDepth
public CriticalDepth()
CriticalDepth
public CriticalDepth(double depth,
int velLayerNum,
int PLayerNum,
int SLayerNum)
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:
- s slowness layer for waveType waves with this depth at its top.
clone
public Object clone()
All Packages Class Hierarchy This Package Previous Next Index