Class MultisatStepNormalizer

java.lang.Object
org.orekit.propagation.sampling.MultisatStepNormalizer
All Implemented Interfaces:
MultiSatStepHandler

public class MultisatStepNormalizer extends Object implements MultiSatStepHandler
This class wraps an object implementing MultiSatFixedStepHandler into a MultiSatStepHandler.

It mirrors the StepNormalizer interface from Hipparchus but provides a space-dynamics interface to the methods.

Since:
12.0
Author:
Luc Maisonobe
  • Constructor Details

    • MultisatStepNormalizer

      public MultisatStepNormalizer(double h, MultiSatFixedStepHandler handler)
      Simple constructor.
      Parameters:
      h - fixed time step (sign is not used)
      handler - fixed time step handler to wrap
  • Method Details

    • getFixedTimeStep

      public double getFixedTimeStep()
      Get the fixed time step.
      Returns:
      fixed time step
    • getFixedStepHandler

      public MultiSatFixedStepHandler getFixedStepHandler()
      Get the underlying fixed step handler.
      Returns:
      underlying fixed step handler
    • init

      public void init(List<SpacecraftState> s0, AbsoluteDate t)
      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.

      The default method does nothing

      Specified by:
      init in interface MultiSatStepHandler
      Parameters:
      s0 - initial states, one for each satellite in the same order used to build the multi-sat propagator.
      t - target time for the integration
    • handleStep

      public void handleStep(List<OrekitStepInterpolator> interpolators)
      Handle the current step.

      When called by PropagatorsParallelizer, all interpolators have the same time range.

      Specified by:
      handleStep in interface MultiSatStepHandler
      Parameters:
      interpolators - interpolators set up for the current step in the same order used to build the multi-sat propagator
    • finish

      public void finish(List<SpacecraftState> finalStates)
      Finalize propagation.
      Specified by:
      finish in interface MultiSatStepHandler
      Parameters:
      finalStates - states at propagation end