Package org.orekit.propagation.sampling
Interface FieldOrekitFixedStepHandler<T extends org.hipparchus.RealFieldElement<T>>
-
public interface FieldOrekitFixedStepHandler<T extends org.hipparchus.RealFieldElement<T>>This interface is a space-dynamics aware fixed size step handler.It mirrors the
FixedStepHandlerinterface from commons-math but provides a space-dynamics interface to the methods.- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidhandleStep(FieldSpacecraftState<T> currentState, boolean isLast)Handle the current step.default voidinit(FieldSpacecraftState<T> s0, FieldAbsoluteDate<T> t, T step)Initialize step handler at the start of a propagation.
-
-
-
Method Detail
-
init
default void init(FieldSpacecraftState<T> s0, FieldAbsoluteDate<T> t, T step)
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 statet- target time for the integrationstep- the duration in seconds of the fixed step. This value is positive even if propagation is backwards.
-
handleStep
void handleStep(FieldSpacecraftState<T> currentState, boolean isLast)
Handle the current step.- Parameters:
currentState- current state at step timeisLast- if true, this is the last integration step
-
-