Package org.orekit.propagation.sampling
Interface OrekitFixedStepHandler
- All Known Implementing Classes:
LinearKeplerianCovarianceHandler,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.
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
Modifier and TypeMethodDescriptiondefault voidfinish(SpacecraftState finalState) Finalize propagation.voidhandleStep(SpacecraftState currentState) Handle the current step.default voidinit(SpacecraftState s0, AbsoluteDate t, double step) Initialize step handler at the start of a propagation.
-
Method Details
-
init
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
Handle the current step.- Parameters:
currentState- current state at step time
-
finish
Finalize propagation.- Parameters:
finalState- state at propagation end- Since:
- 11.0
-