Package org.orekit.propagation.sampling
Class FieldOrekitStepNormalizer<T extends CalculusFieldElement<T>>
java.lang.Object
org.orekit.propagation.sampling.FieldOrekitStepNormalizer<T>
- Type Parameters:
T- type of the field elements
- All Implemented Interfaces:
FieldOrekitStepHandler<T>
public class FieldOrekitStepNormalizer<T extends CalculusFieldElement<T>>
extends Object
implements FieldOrekitStepHandler<T>
This class wraps an object implementing
OrekitFixedStepHandler
into a OrekitStepHandler.
It mirrors the StepNormalizer interface from commons-math but
provides a space-dynamics interface to the methods.
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionFieldOrekitStepNormalizer(T h, FieldOrekitFixedStepHandler<T> handler) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidfinish(FieldSpacecraftState<T> finalState) Finalize propagation.Get the underlying fixed step handler.Get the fixed time step.voidhandleStep(FieldOrekitStepInterpolator<T> interpolator) Handle the current step.voidinit(FieldSpacecraftState<T> s0, FieldAbsoluteDate<T> t) Initialize step handler at the start of a propagation.booleanDetermines whether this handler needs dense output.
-
Constructor Details
-
FieldOrekitStepNormalizer
Simple constructor.- Parameters:
h- fixed time step (sign is not used)handler- fixed time step handler to wrap
-
-
Method Details
-
getFixedTimeStep
Get the fixed time step.- Returns:
- fixed time step
- Since:
- 11.0
-
getFixedStepHandler
Get the underlying fixed step handler.- Returns:
- underlying fixed step handler
- Since:
- 11.0
-
requiresDenseOutput
public boolean requiresDenseOutput()Determines whether this handler needs dense output. This handler needs dense output in order to provide data at regularly spaced steps regardless of the steps the propagator uses, so this method always returns true.- Returns:
- always true
-
init
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.
- Specified by:
initin interfaceFieldOrekitStepHandler<T extends CalculusFieldElement<T>>- Parameters:
s0- initial statet- target time for the integration
-
handleStep
Handle the current step.- Specified by:
handleStepin interfaceFieldOrekitStepHandler<T extends CalculusFieldElement<T>>- Parameters:
interpolator- interpolator set up for the current step
-
finish
Finalize propagation.- Specified by:
finishin interfaceFieldOrekitStepHandler<T extends CalculusFieldElement<T>>- Parameters:
finalState- state at propagation end
-