public interface MultiPatriusFixedStepHandler
This interface is copied from PatriusFixedStepHandler
and adapted
to multi propagation.
This interface represents a handler that should be called after each successful fixed step.
This interface should be implemented by anyone who is interested in getting the solution of an ordinary differential
equation at fixed time steps. Objects implementing this interface should be wrapped within an instance of
StepNormalizer
that itself is used as the general StepHandler
by the integrator. The
StepNormalizer
object is called according to the integrator internal algorithms and it calls objects
implementing this interface as necessary at fixed time steps.
StepHandler
,
StepNormalizer
Modifier and Type | Method and Description |
---|---|
void |
handleStep(Map<String,SpacecraftState> currentStates,
boolean isLast)
Handle the current step.
|
void |
init(Map<String,SpacecraftState> s0,
AbsoluteDate t)
Initialize step handler at the start of a propagation.
|
void init(Map<String,SpacecraftState> s0, AbsoluteDate t)
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.
s0
- map of initial statest
- target time for the integrationvoid handleStep(Map<String,SpacecraftState> currentStates, boolean isLast) throws PropagationException
currentStates
- map of current states at step timeisLast
- if true, this is the last integration stepPropagationException
- if step cannot be handledCopyright © 2019 CNES. All rights reserved.