@FunctionalInterface public interface OrekitFixedStepHandler
It mirrors the FixedStepHandler
interface from Hipparchus but provides
a space-dynamics interface to the methods.
Modifier and Type | Method and Description |
---|---|
default void |
finish(SpacecraftState finalState)
Finalize propagation.
|
void |
handleStep(SpacecraftState currentState)
Handle the current step.
|
default void |
init(SpacecraftState s0,
AbsoluteDate t,
double step)
Initialize step handler at the start of a propagation.
|
default void init(SpacecraftState s0, AbsoluteDate t, double step)
This method is called once at the start of the propagation. It may be used by the step handler to initialize some internal data if needed.
s0
- initial statet
- target time for the integrationstep
- the duration in seconds of the fixed step. This value is
positive even if propagation is backwards.void handleStep(SpacecraftState currentState)
currentState
- current state at step timedefault void finish(SpacecraftState finalState)
finalState
- state at propagation endCopyright © 2002-2021 CS GROUP. All rights reserved.