public class FieldOrekitStepNormalizer<T extends CalculusFieldElement<T>> extends Object implements FieldOrekitStepHandler<T>
OrekitFixedStepHandler
into a OrekitStepHandler
.
It mirrors the StepNormalizer
interface from commons-math but
provides a space-dynamics interface to the methods.
Constructor and Description |
---|
FieldOrekitStepNormalizer(T h,
FieldOrekitFixedStepHandler<T> handler)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
finish(FieldSpacecraftState<T> finalState)
Finalize propagation.
|
FieldOrekitFixedStepHandler<T> |
getFixedStepHandler()
Get the underlying fixed step handler.
|
T |
getFixedTimeStep()
Get the fixed time step.
|
void |
handleStep(FieldOrekitStepInterpolator<T> interpolator)
Handle the current step.
|
void |
init(FieldSpacecraftState<T> s0,
FieldAbsoluteDate<T> t)
Initialize step handler at the start of a propagation.
|
boolean |
requiresDenseOutput()
Determines whether this handler needs dense output.
|
public FieldOrekitStepNormalizer(T h, FieldOrekitFixedStepHandler<T> handler)
h
- fixed time step (sign is not used)handler
- fixed time step handler to wrappublic T getFixedTimeStep()
public FieldOrekitFixedStepHandler<T> getFixedStepHandler()
public boolean requiresDenseOutput()
public void init(FieldSpacecraftState<T> s0, FieldAbsoluteDate<T> 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.
init
in interface FieldOrekitStepHandler<T extends CalculusFieldElement<T>>
s0
- initial statet
- target time for the integrationpublic void handleStep(FieldOrekitStepInterpolator<T> interpolator)
handleStep
in interface FieldOrekitStepHandler<T extends CalculusFieldElement<T>>
interpolator
- interpolator set up for the current steppublic void finish(FieldSpacecraftState<T> finalState)
finish
in interface FieldOrekitStepHandler<T extends CalculusFieldElement<T>>
finalState
- state at propagation endCopyright © 2002-2022 CS GROUP. All rights reserved.