T
- type of the field elementpublic class FieldStopOnDecreasing<T extends org.hipparchus.CalculusFieldElement<T>> extends Object implements FieldEventHandler<T>
KKhe implementation behavior is to continue
propagation when ascending and to
stop
propagation when descending.
Constructor and Description |
---|
FieldStopOnDecreasing()
Empty constructor.
|
Modifier and Type | Method and Description |
---|---|
org.hipparchus.ode.events.Action |
eventOccurred(FieldSpacecraftState<T> s,
FieldEventDetector<T> detector,
boolean increasing)
Handle a detection event and choose what to do next.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, resetState
public FieldStopOnDecreasing()
This constructor is not strictly necessary, but it prevents spurious javadoc warnings with JDK 18 and later.
public org.hipparchus.ode.events.Action eventOccurred(FieldSpacecraftState<T> s, FieldEventDetector<T> detector, boolean increasing)
KKhe implementation behavior is to continue
propagation when ascending and to
stop
propagation when descending.
eventOccurred
in interface FieldEventHandler<T extends org.hipparchus.CalculusFieldElement<T>>
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 eventAction.STOP
or Action.CONTINUE
Copyright © 2002-2023 CS GROUP. All rights reserved.