Package org.orekit.propagation.sampling
Class MultisatStepNormalizer
java.lang.Object
org.orekit.propagation.sampling.MultisatStepNormalizer
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionMultisatStepNormalizer(double h, MultiSatFixedStepHandler handler) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidfinish(List<SpacecraftState> finalStates) Finalize propagation.Get the underlying fixed step handler.doubleGet the fixed time step.voidhandleStep(List<OrekitStepInterpolator> interpolators) Handle the current step.voidinit(List<SpacecraftState> s0, AbsoluteDate t) Initialize step handler at the start of a propagation.
-
Constructor Details
-
MultisatStepNormalizer
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
Get the underlying fixed step handler.- Returns:
- underlying fixed step handler
-
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.
The default method does nothing
- Specified by:
initin interfaceMultiSatStepHandler- Parameters:
s0- initial states, one for each satellite in the same order used tobuildthemulti-sat propagator.t- target time for the integration
-
handleStep
Handle the current step.When called by
PropagatorsParallelizer, all interpolators have the same time range.- Specified by:
handleStepin interfaceMultiSatStepHandler- Parameters:
interpolators- interpolators set up for the current step in the same order used tobuildthemulti-sat propagator
-
finish
Finalize propagation.- Specified by:
finishin interfaceMultiSatStepHandler- Parameters:
finalStates- states at propagation end
-