Package edu.sc.seis.TauP
Class SeismicPhaseLayerFactoryAllFail
java.lang.Object
edu.sc.seis.TauP.SeismicPhaseLayerFactory
edu.sc.seis.TauP.SeismicPhaseLayerFactoryAllFail
Seismic phase factory that can never generate phases.
For example an inner core factory for a model that does not have
* a core, which would fail any phase with an I leg.
-
Field Summary
Fields inherited from class edu.sc.seis.TauP.SeismicPhaseLayerFactory
CENTER_OF_EARTH, CRUST_MANTLE, EMPTY, INNER_CORE, OUTER_CORE, SURFACE_OF_EARTH -
Constructor Summary
ConstructorsConstructorDescriptionSeismicPhaseLayerFactoryAllFail(SeismicPhaseFactory baseFactory, String layerName, int topBranchNum, int botBranchNum, String reason) -
Method Summary
Methods inherited from class edu.sc.seis.TauP.SeismicPhaseLayerFactory
createFactory, crustMantleFactory, getAboveFactory, getAbovePLegSymbol, getAboveSLegSymbol, getAboveUpPLegSymbol, getAboveUpSLegSymbol, getBelowFactory, getBelowPLegSymbol, getBelowSLegSymbol, getPLegSymbol, getSLegSymbol, innerCoreFactory, isLayerLeg, outerCoreFactory, possibleToEnd, validateDisconWithinLayers
-
Constructor Details
-
SeismicPhaseLayerFactoryAllFail
public SeismicPhaseLayerFactoryAllFail(SeismicPhaseFactory baseFactory, String layerName, int topBranchNum, int botBranchNum, String reason)
-
-
Method Details
-
parse
public ProtoSeismicPhase parse(ProtoSeismicPhase proto, String prevLeg, String currLeg, String nextLeg, String nextNextLeg, boolean prevIsPWave, boolean isPWave, boolean nextIsPWave, int legNum) throws TauModelException - Overrides:
parsein classSeismicPhaseLayerFactory- Throws:
TauModelException
-