public interface PatriusStepHandler extends Serializable
It mirrors the StepHandler
interface from commons-math
but provides a space-dynamics interface to the methods.
Modifier and Type | Method and Description |
---|---|
void |
handleStep(PatriusStepInterpolator interpolator,
boolean isLast)
Handle the current step.
|
void |
init(SpacecraftState s0,
AbsoluteDate t)
Initialize step handler at the start of a propagation.
|
void init(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
- initial statet
- target time for the integrationvoid handleStep(PatriusStepInterpolator interpolator, boolean isLast) throws PropagationException
interpolator
- interpolator set up for the current stepisLast
- if true, this is the last integration stepPropagationException
- if step cannot be handledCopyright © 2017 CNES. All rights reserved.