fr.cnes.sirius.patrius.propagation.sampling.multi
Interface MultiOrekitFixedStepHandler


public interface MultiOrekitFixedStepHandler

This interface is copied from OrekitFixedStepHandler 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.

Since:
3.0
Version:
$Id: MultiOrekitFixedStepHandler.java 17585 2017-05-10 13:27:59Z bignon $
Author:
maggioranic
See Also:
StepHandler, StepNormalizer

Method Summary
 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.
 

Method Detail

init

void init(Map<String,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.

Parameters:
s0 - map of initial states
t - target time for the integration

handleStep

void handleStep(Map<String,SpacecraftState> currentStates,
                boolean isLast)
                throws PropagationException
Handle the current step.

Parameters:
currentStates - map of current states at step time
isLast - if true, this is the last integration step
Throws:
PropagationException - if step cannot be handled


Copyright © 2017 CNES. All Rights Reserved.