Package edu.sc.seis.TauP
Class FailedSeismicPhase
- java.lang.Object
-
- edu.sc.seis.TauP.SimpleSeismicPhase
-
- edu.sc.seis.TauP.FailedSeismicPhase
-
- All Implemented Interfaces:
SeismicPhase
,java.io.Serializable
,java.lang.Cloneable
public class FailedSeismicPhase extends SimpleSeismicPhase
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class edu.sc.seis.TauP.SimpleSeismicPhase
DEBUG, dist, maxDistance, maxRayParam, maxRayParamIndex, maxRecursion, minDistance, minRayParam, minRayParamIndex, name, puristName, PWAVE, rayParams, receiverDepth, refineDistToleranceRadian, sourceDepth, SWAVE, time, tMod, verbose
-
-
Constructor Summary
Constructors Constructor Description FailedSeismicPhase(ProtoSeismicPhase proto)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<TimeDist>
calcPierceTimeDist(Arrival arrival)
double
calcReflTranPSV(Arrival arrival)
double
calcReflTranSH(Arrival arrival)
java.util.List<ArrivalPathSegment>
calcSegmentPaths(Arrival currArrival)
java.util.List<Arrival>
calcTime(double deg)
Arrival
createArrivalAtIndex(int rayNum)
Creates an Arrival for a sampled ray parameter from the model.java.lang.String
describe()
java.lang.String
describeJson()
int
getNumRays()
boolean
hasArrivals()
boolean
phasesExistsInModel()
Arrival
shootRay(double rayParam)
-
Methods inherited from class edu.sc.seis.TauP.SimpleSeismicPhase
calcIncidentAngle, calcRayParamForTakeoffAngle, calcSegmentPaths, calcTakeoffAngle, calcTimeExactDistance, countFlatLegs, densityAtReceiver, dump, finalSegmentIsPWave, getDist, getDist, getEarliestArrival, getFinalPhaseSegment, getInitialPhaseSegment, getMaxDistance, getMaxDistanceDeg, getMaxRayParam, getMaxRayParamIndex, getMaxTime, getMinDistance, getMinDistanceDeg, getMinRayParam, getMinRayParamIndex, getMinTime, getName, getPhaseSegments, getPuristName, getRayParams, getRayParams, getReceiverDepth, getSourceDepth, getTau, getTau, getTauModel, getTime, getTime, isAllPWave, isAllSWave, refineArrival, refineArrival, removeDuplicatePathPoints, sourceSegmentIsPWave, toString, velocityAtReceiver, velocityAtSource
-
-
-
-
Constructor Detail
-
FailedSeismicPhase
public FailedSeismicPhase(ProtoSeismicPhase proto)
-
-
Method Detail
-
phasesExistsInModel
public boolean phasesExistsInModel()
- Specified by:
phasesExistsInModel
in interfaceSeismicPhase
- Overrides:
phasesExistsInModel
in classSimpleSeismicPhase
-
hasArrivals
public boolean hasArrivals()
- Specified by:
hasArrivals
in interfaceSeismicPhase
- Overrides:
hasArrivals
in classSimpleSeismicPhase
-
calcTime
public java.util.List<Arrival> calcTime(double deg)
- Specified by:
calcTime
in interfaceSeismicPhase
- Overrides:
calcTime
in classSimpleSeismicPhase
-
createArrivalAtIndex
public Arrival createArrivalAtIndex(int rayNum)
Creates an Arrival for a sampled ray parameter from the model. No interpolation between rays as this is a sample.- Specified by:
createArrivalAtIndex
in interfaceSeismicPhase
- Overrides:
createArrivalAtIndex
in classSimpleSeismicPhase
- Parameters:
rayNum
- index in ray parameters
-
shootRay
public Arrival shootRay(double rayParam) throws SlownessModelException, NoSuchLayerException
- Specified by:
shootRay
in interfaceSeismicPhase
- Overrides:
shootRay
in classSimpleSeismicPhase
- Throws:
SlownessModelException
NoSuchLayerException
-
calcSegmentPaths
public java.util.List<ArrivalPathSegment> calcSegmentPaths(Arrival currArrival)
- Specified by:
calcSegmentPaths
in interfaceSeismicPhase
- Overrides:
calcSegmentPaths
in classSimpleSeismicPhase
-
describe
public java.lang.String describe()
- Specified by:
describe
in interfaceSeismicPhase
- Overrides:
describe
in classSimpleSeismicPhase
-
describeJson
public java.lang.String describeJson()
- Specified by:
describeJson
in interfaceSeismicPhase
- Overrides:
describeJson
in classSimpleSeismicPhase
-
calcReflTranPSV
public double calcReflTranPSV(Arrival arrival) throws VelocityModelException, SlownessModelException
- Specified by:
calcReflTranPSV
in interfaceSeismicPhase
- Overrides:
calcReflTranPSV
in classSimpleSeismicPhase
- Throws:
VelocityModelException
SlownessModelException
-
calcReflTranSH
public double calcReflTranSH(Arrival arrival) throws VelocityModelException, SlownessModelException
- Specified by:
calcReflTranSH
in interfaceSeismicPhase
- Overrides:
calcReflTranSH
in classSimpleSeismicPhase
- Throws:
VelocityModelException
SlownessModelException
-
calcPierceTimeDist
public java.util.List<TimeDist> calcPierceTimeDist(Arrival arrival)
- Specified by:
calcPierceTimeDist
in interfaceSeismicPhase
- Overrides:
calcPierceTimeDist
in classSimpleSeismicPhase
-
getNumRays
public int getNumRays()
- Specified by:
getNumRays
in interfaceSeismicPhase
- Overrides:
getNumRays
in classSimpleSeismicPhase
-
-