Package edu.sc.seis.TauP
Enum Class PhaseInteraction
- All Implemented Interfaces:
Serializable,Comparable<PhaseInteraction>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionindicates end of the inbound phase to a scatterer.indicates end of the inbound phase to a scatterer, where last segment is downgoing.Used by addToBranch when the path diffracts along a boundary.A downward turn after a flat diffracted segment, such as the K leg of PdiffdnKSAn upward turn after a flat diffracted segment, such as the upward leg of Pdiff.Used by addToBranch for the last segment of a phase.Used by addToBranch for the last segment of a phase ending downgoing, like Ped to receiver at depth.Used by addToBranch when the path is head wave along a boundary.An upward turn after a flat head segment, such as the upward leg of Pn.Used by addToBranch when the path is surface wave, so just a velocity.Used by addToBranch when the path reflects off the bottom of the end of a segment, ie v.Used by addToBranch when the path critically reflects off the bottom of the end of a segment, ie "V".Used by addToBranch when the path reflects off the top of the end of a segment, ie ^.Used by addToBranch when the path critically reflects off the top of the end of a segment, ie "^x".indicates end of the inbound phase to a scatterer.indicates end of the inbound phase to a scatterer, where last segment is downgoing.Used by addToBranch when the path transmits down through the end of a segment.Used by addToBranch when the path transmits up through the end of a segment.Used by addToBranch when the path transmits up across a boundary then diffracts along that boundary.Used by addToBranch when the path turns within a segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic intendOffset(PhaseInteraction endAction) static booleanisDowngoingActionAfter(PhaseInteraction endAction) static booleanisDowngoingActionBefore(PhaseInteraction endAction) static booleanisUpgoingActionAfter(PhaseInteraction endAction) static booleanisUpgoingActionBefore(PhaseInteraction endAction) static LayerPropogationTypelayerPropogationTypeAfter(PhaseInteraction endAction) static PhaseInteractionReturns the enum constant of this class with the specified name.static PhaseInteraction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START_UP
-
START_DOWN
-
START_FLAT
-
TURN
Used by addToBranch when the path turns within a segment. We assume that no ray will turn downward so turning implies turning from downward to upward, ie U. -
REFLECT_UNDERSIDE
Used by addToBranch when the path reflects off the top of the end of a segment, ie ^. -
REFLECT_TOPSIDE
Used by addToBranch when the path reflects off the bottom of the end of a segment, ie v. -
TRANSUP
Used by addToBranch when the path transmits up through the end of a segment. -
TRANSDOWN
Used by addToBranch when the path transmits down through the end of a segment. -
DIFFRACT
Used by addToBranch when the path diffracts along a boundary. -
TRANSUPDIFFRACT
Used by addToBranch when the path transmits up across a boundary then diffracts along that boundary. -
DIFFRACTTURN
An upward turn after a flat diffracted segment, such as the upward leg of Pdiff. Similar to TURN, but must ray start at bottom of layer. -
DIFFRACTDOWN
A downward turn after a flat diffracted segment, such as the K leg of PdiffdnKS -
HEAD
Used by addToBranch when the path is head wave along a boundary. -
HEADTURN
An upward turn after a flat head segment, such as the upward leg of Pn. Similar to TRANSUP, as must ray start at top of lower layer. -
KMPS
Used by addToBranch when the path is surface wave, so just a velocity. -
SCATTER
indicates end of the inbound phase to a scatterer. The ray continues on after scattering in the forward sense, so if inbound clockwise, continues clockwise. -
SCATTER_DOWN
indicates end of the inbound phase to a scatterer, where last segment is downgoing. The ray continues on after scattering in the forward sense, so if inbound clockwise, continues clockwise. -
BACKSCATTER
indicates end of the inbound phase to a scatterer. The ray continues on after scattering in the backward sense, so if inbound clockwise, it reverses and propagates counterclockwise. -
BACKSCATTER_DOWN
indicates end of the inbound phase to a scatterer, where last segment is downgoing. The ray continues on after scattering in the backward sense, so if inbound clockwise, it reverses and propagates counterclockwise. -
END
Used by addToBranch for the last segment of a phase. -
END_DOWN
Used by addToBranch for the last segment of a phase ending downgoing, like Ped to receiver at depth. -
REFLECT_UNDERSIDE_CRITICAL
Used by addToBranch when the path critically reflects off the top of the end of a segment, ie "^x". Note this is disabled as it is hard to create a model where this phase interaction is physically possible, delay implement this feature for now. -
REFLECT_TOPSIDE_CRITICAL
Used by addToBranch when the path critically reflects off the bottom of the end of a segment, ie "V". -
FAIL
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isUpgoingActionBefore
-
isDowngoingActionBefore
-
isUpgoingActionAfter
-
layerPropogationTypeAfter
-
isDowngoingActionAfter
-
endOffset
-