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.

@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 Details

    • 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 state
      t - target time for the integration
      step - 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