Class FieldStopOnIncreasing<T extends CalculusFieldElement<T>>
- java.lang.Object
-
- org.orekit.propagation.events.handlers.FieldStopOnIncreasing<T>
-
- Type Parameters:
T- type of the field element
- All Implemented Interfaces:
FieldEventHandler<T>
public class FieldStopOnIncreasing<T extends CalculusFieldElement<T>> extends Object implements FieldEventHandler<T>
Handle a detection event and choose what to do next.The implementation behavior is to
continuepropagation when descending and tostoppropagation when ascending.- Author:
- Hank Grabowski
-
-
Constructor Summary
Constructors Constructor Description FieldStopOnIncreasing()Empty constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActioneventOccurred(FieldSpacecraftState<T> s, FieldEventDetector<T> detector, boolean increasing)Handle a detection event and choose what to do next.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.propagation.events.handlers.FieldEventHandler
init, resetState
-
-
-
-
Method Detail
-
eventOccurred
public Action eventOccurred(FieldSpacecraftState<T> s, FieldEventDetector<T> detector, boolean increasing)
Handle a detection event and choose what to do next.The implementation behavior is to
continuepropagation when descending and tostoppropagation when ascending.- Specified by:
eventOccurredin interfaceFieldEventHandler<T extends CalculusFieldElement<T>>- Parameters:
s- the current state information : date, kinematics, attitudedetector- the detector object calling this method (not used in the evaluation)increasing- if true, the value of the switching function increases when times increases around event- Returns:
Action.STOPorAction.CONTINUE
-
-