Package edu.sc.seis.TauP
Class ReflTrans
- java.lang.Object
-
- edu.sc.seis.TauP.ReflTrans
-
- Direct Known Subclasses:
ReflTransFluidFluid,ReflTransFluidFreeSurface,ReflTransFluidSolid,ReflTransFreeSurface,ReflTransSolidFluid,ReflTransSolidSolid
public abstract class ReflTrans extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected doublebotDensityprotected ComplexbotVertSlownessPprotected ComplexbotVertSlownessSprotected doublebotVpprotected doublebotVsprotected static ComplexCXjust to avoid having Complex all over the place.protected booleanlastInIsPWaveprotected doublelastRayParamprotected doublerpprotected doublesqBotVpprotected doublesqBotVsprotected doublesqRPprotected doublesqTopVpprotected doublesqTopVsprotected doubletopDensityprotected ComplextopVertSlownessPprotected ComplextopVertSlownessSprotected doubletopVpprotected doubletopVs
-
Constructor Summary
Constructors Constructor Description ReflTrans(double topVp, double topVs, double topDensity, double botVp, double botVs, double botDensity)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description double[]calcCriticalRayParams()ComplexcalcInVerticalSlownessP(double flatRP)ComplexcalcInVerticalSlownessS(double flatRP)ComplexcalcTransVerticalSlownessP(double flatRP)ComplexcalcTransVerticalSlownessS(double flatRP)abstract ReflTransflip()Flips the sense of the layers, useful when you have a ray going through the same layer in the opposite direction.abstract ComplexgetComplexRpp(double rayParam)abstract ComplexgetComplexRps(double rayParam)abstract ComplexgetComplexRshsh(double rayParam)abstract ComplexgetComplexRsp(double rayParam)abstract ComplexgetComplexRss(double rayParam)abstract ComplexgetComplexTpp(double rayParam)abstract ComplexgetComplexTps(double rayParam)abstract ComplexgetComplexTshsh(double rayParam)abstract ComplexgetComplexTsp(double rayParam)abstract ComplexgetComplexTss(double rayParam)static doublegetRealCoefficient(Complex coef)doublegetRpp(double rayParam)Calculates incident P wave to reflected P wave coefficient.doublegetRps(double rayParam)Calculates incident P wave to reflected SV wave coefficient.doublegetRshsh(double rayParam)Calculates incident SH wave to reflected SH wave coefficient.doublegetRsp(double rayParam)Calculates incident SV wave to reflected P wave coefficient.doublegetRss(double rayParam)Calculates incident SV wave to reflected SV wave coefficient.doublegetTpp(double rayParam)Calculates incident P wave to transmitted P wave coefficient.doublegetTps(double rayParam)Calculates incident P wave to transmitted SV wave coefficient.doublegetTshsh(double rayParam)Calculates incident SH wave to transmitted SH wave coefficient.doublegetTsp(double rayParam)Calculates incident SV wave to transmitted P wave coefficient.doublegetTss(double rayParam)Calculates incident SV wave to transmitted SV wave coefficient.
-
-
-
Field Detail
-
topVp
protected double topVp
-
topVs
protected double topVs
-
topDensity
protected double topDensity
-
botVp
protected double botVp
-
botVs
protected double botVs
-
botDensity
protected double botDensity
-
rp
protected double rp
-
topVertSlownessP
protected Complex topVertSlownessP
-
topVertSlownessS
protected Complex topVertSlownessS
-
botVertSlownessP
protected Complex botVertSlownessP
-
botVertSlownessS
protected Complex botVertSlownessS
-
sqBotVs
protected double sqBotVs
-
sqTopVs
protected double sqTopVs
-
sqBotVp
protected double sqBotVp
-
sqTopVp
protected double sqTopVp
-
sqRP
protected double sqRP
-
lastRayParam
protected double lastRayParam
-
lastInIsPWave
protected boolean lastInIsPWave
-
CX
protected static final Complex CX
just to avoid having Complex all over the place.
-
-
Method Detail
-
getComplexRpp
public abstract Complex getComplexRpp(double rayParam) throws VelocityModelException
- Throws:
VelocityModelException
-
getComplexRps
public abstract Complex getComplexRps(double rayParam) throws VelocityModelException
- Throws:
VelocityModelException
-
getComplexTpp
public abstract Complex getComplexTpp(double rayParam) throws VelocityModelException
- Throws:
VelocityModelException
-
getComplexTps
public abstract Complex getComplexTps(double rayParam) throws VelocityModelException
- Throws:
VelocityModelException
-
getComplexRsp
public abstract Complex getComplexRsp(double rayParam) throws VelocityModelException
- Throws:
VelocityModelException
-
getComplexRss
public abstract Complex getComplexRss(double rayParam) throws VelocityModelException
- Throws:
VelocityModelException
-
getComplexTsp
public abstract Complex getComplexTsp(double rayParam) throws VelocityModelException
- Throws:
VelocityModelException
-
getComplexTss
public abstract Complex getComplexTss(double rayParam) throws VelocityModelException
- Throws:
VelocityModelException
-
getComplexRshsh
public abstract Complex getComplexRshsh(double rayParam) throws VelocityModelException
- Throws:
VelocityModelException
-
getComplexTshsh
public abstract Complex getComplexTshsh(double rayParam) throws VelocityModelException
- Throws:
VelocityModelException
-
flip
public abstract ReflTrans flip() throws VelocityModelException
Flips the sense of the layers, useful when you have a ray going through the same layer in the opposite direction.- Throws:
VelocityModelException
-
getRpp
public double getRpp(double rayParam) throws VelocityModelExceptionCalculates incident P wave to reflected P wave coefficient.- Throws:
VelocityModelException
-
getRps
public double getRps(double rayParam) throws VelocityModelExceptionCalculates incident P wave to reflected SV wave coefficient.- Throws:
VelocityModelException
-
getTpp
public double getTpp(double rayParam) throws VelocityModelExceptionCalculates incident P wave to transmitted P wave coefficient.- Throws:
VelocityModelException
-
getTps
public double getTps(double rayParam) throws VelocityModelExceptionCalculates incident P wave to transmitted SV wave coefficient.- Throws:
VelocityModelException
-
getRsp
public double getRsp(double rayParam) throws VelocityModelExceptionCalculates incident SV wave to reflected P wave coefficient.- Throws:
VelocityModelException
-
getRss
public double getRss(double rayParam) throws VelocityModelExceptionCalculates incident SV wave to reflected SV wave coefficient.- Throws:
VelocityModelException
-
getTsp
public double getTsp(double rayParam) throws VelocityModelExceptionCalculates incident SV wave to transmitted P wave coefficient.- Throws:
VelocityModelException
-
getTss
public double getTss(double rayParam) throws VelocityModelExceptionCalculates incident SV wave to transmitted SV wave coefficient.- Throws:
VelocityModelException
-
getRshsh
public double getRshsh(double rayParam) throws VelocityModelExceptionCalculates incident SH wave to reflected SH wave coefficient.- Throws:
VelocityModelException
-
getTshsh
public double getTshsh(double rayParam) throws VelocityModelExceptionCalculates incident SH wave to transmitted SH wave coefficient.- Throws:
VelocityModelException
-
getRealCoefficient
public static double getRealCoefficient(Complex coef)
-
calcInVerticalSlownessP
public Complex calcInVerticalSlownessP(double flatRP)
-
calcInVerticalSlownessS
public Complex calcInVerticalSlownessS(double flatRP)
-
calcTransVerticalSlownessP
public Complex calcTransVerticalSlownessP(double flatRP)
-
calcTransVerticalSlownessS
public Complex calcTransVerticalSlownessS(double flatRP)
-
calcCriticalRayParams
public double[] calcCriticalRayParams()
-
-