Package org.orekit.propagation.sampling
Interface OrekitFixedStepHandler
-
- All Known Implementing Classes:
StreamingAemWriter.SegmentWriter
,StreamingCpfWriter.Segment
,StreamingOcmWriter.BlockWriter
,StreamingOemWriter.SegmentWriter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface OrekitFixedStepHandler
This interface is a space-dynamics aware fixed size step handler.It mirrors the
FixedStepHandler
interface from Hipparchus but provides a space-dynamics interface to the methods.- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
init
default void init(SpacecraftState s0, AbsoluteDate t, double step)
Initialize step handler at the start of a propagation.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.
- Parameters:
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.- Since:
- 9.0
-
handleStep
void handleStep(SpacecraftState currentState)
Handle the current step.- Parameters:
currentState
- current state at step time
-
finish
default void finish(SpacecraftState finalState)
Finalize propagation.- Parameters:
finalState
- state at propagation end- Since:
- 11.0
-
-