Package edu.sc.seis.TauP
Class SeismicPhaseLayerFactory
java.lang.Object
edu.sc.seis.TauP.SeismicPhaseLayerFactory
- Direct Known Subclasses:
SeismicPhaseLayerFactoryAllFail
Factor for calculating seismic phase from phase name within a major section of the model, like mantle or inner core.
This understands the phase symbols for P and S waves within these layer, like K is the P wave in the outer core.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSeismicPhaseLayerFactory(SeismicPhaseFactory baseFactory, String layerName, int topBranchNum, int botBranchNum) -
Method Summary
Modifier and TypeMethodDescriptionstatic List<SeismicPhaseLayerFactory>createFactory(SeismicPhaseFactory baseFactory) static SeismicPhaseLayerFactorycrustMantleFactory(SeismicPhaseFactory baseFactory) static SeismicPhaseLayerFactoryinnerCoreFactory(SeismicPhaseFactory baseFactory) booleanisLayerLeg(String leg) static SeismicPhaseLayerFactoryouterCoreFactory(SeismicPhaseFactory baseFactory) parse(ProtoSeismicPhase proto, String prevLeg, String currLeg, String nextLeg, String nextNextLeg, boolean prevIsPWave, boolean isPWave, boolean nextIsPWave, int legNum) booleanpossibleToEnd(boolean isDowngoing) booleanvalidateDisconWithinLayers(ProtoSeismicPhase proto, int disconNum, String currLeg)
-
Field Details
-
SURFACE_OF_EARTH
- See Also:
-
CRUST_MANTLE
- See Also:
-
OUTER_CORE
- See Also:
-
INNER_CORE
- See Also:
-
CENTER_OF_EARTH
- See Also:
-
EMPTY
public static final char EMPTY- See Also:
-
-
Constructor Details
-
SeismicPhaseLayerFactory
public SeismicPhaseLayerFactory(SeismicPhaseFactory baseFactory, String layerName, int topBranchNum, int botBranchNum)
-
-
Method Details
-
crustMantleFactory
-
outerCoreFactory
-
innerCoreFactory
-
createFactory
-
parse
public ProtoSeismicPhase parse(ProtoSeismicPhase proto, String prevLeg, String currLeg, String nextLeg, String nextNextLeg, boolean prevIsPWave, boolean isPWave, boolean nextIsPWave, int legNum) throws TauModelException - Throws:
TauModelException
-
getAboveFactory
-
getBelowFactory
-
getPLegSymbol
-
getBelowPLegSymbol
-
getAbovePLegSymbol
-
getAboveUpPLegSymbol
-
getSLegSymbol
-
getBelowSLegSymbol
-
getAboveSLegSymbol
-
getAboveUpSLegSymbol
-
isLayerLeg
-
possibleToEnd
public boolean possibleToEnd(boolean isDowngoing) -
validateDisconWithinLayers
-