org.orekit.propagation.sampling
Interface OrekitStepHandler

All Superinterfaces:
Serializable
All Known Implementing Classes:
AnalyticalEphemerisModeHandler, ForcesStepHandler, OrekitStepHandlerMultiplexer, OrekitStepNormalizer

public interface OrekitStepHandler
extends Serializable

This interface is a space-dynamics aware step handler.

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

Author:
Luc Maisonobe

Method Summary
 void handleStep(OrekitStepInterpolator interpolator, 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(OrekitStepInterpolator interpolator,
                boolean isLast)
                throws PropagationException
Handle the current step.

Parameters:
interpolator - interpolator set up for the current step
isLast - if true, this is the last integration step
Throws:
PropagationException - if step cannot be handled


Copyright © 2017 CNES. All Rights Reserved.