org.orekit.propagation.sampling
Interface OrekitFixedStepHandler

All Superinterfaces:
Serializable

public interface OrekitFixedStepHandler
extends Serializable

This interface is a space-dynamics aware fixed size step handler.

It mirrors the FixedStepHandler interface from commons-math but provides a space-dynamics interface to the methods.

Author:
Luc Maisonobe

Method Summary
 void handleStep(SpacecraftState currentState, boolean isLast)
          Handle the current step.
 void init(SpacecraftState s0, AbsoluteDate t)
          Initialize step handler at the start of a propagation.
 

Method Detail

init

void init(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 - initial state
t - target time for the integration

handleStep

void handleStep(SpacecraftState currentState,
                boolean isLast)
                throws PropagationException
Handle the current step.

Parameters:
currentState - current state at step time
isLast - if true, this is the last integration step
Throws:
PropagationException - if step cannot be handled


Copyright © 2016 CNES. All Rights Reserved.