Package org.orekit.propagation.sampling
Class FieldPropagationStepRecorder<T extends CalculusFieldElement<T>>
- java.lang.Object
-
- org.orekit.propagation.sampling.FieldPropagationStepRecorder<T>
-
- All Implemented Interfaces:
FieldOrekitStepHandler<T>
public class FieldPropagationStepRecorder<T extends CalculusFieldElement<T>> extends Object implements FieldOrekitStepHandler<T>
Step handler recording states. Automatically clears them at start of propagation.- Since:
- 13.0
- Author:
- Romain Serra
- See Also:
PropagationStepRecorder
-
-
Constructor Summary
Constructors Constructor Description FieldPropagationStepRecorder()Constructor with default flag.FieldPropagationStepRecorder(boolean resetAutomatically)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FieldSpacecraftState<T>>copyStates()Copy the current saved steps.voidhandleStep(FieldOrekitStepInterpolator<T> interpolator)Handle the current step.voidinit(FieldSpacecraftState<T> s0, FieldAbsoluteDate<T> t)Initialize step handler at the start of a propagation.booleanisResetAutomatically()Getter for resetting flag.voidsetResetAutomatically(boolean resetAutomatically)Setter for resetting flag.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.propagation.sampling.FieldOrekitStepHandler
finish
-
-
-
-
Method Detail
-
setResetAutomatically
public void setResetAutomatically(boolean resetAutomatically)
Setter for resetting flag.- Parameters:
resetAutomatically- flag- Since:
- 13.1
-
isResetAutomatically
public boolean isResetAutomatically()
Getter for resetting flag.- Returns:
- flag
- Since:
- 13.1
-
copyStates
public List<FieldSpacecraftState<T>> copyStates()
Copy the current saved steps.- Returns:
- copy of steps
-
init
public void init(FieldSpacecraftState<T> s0, FieldAbsoluteDate<T> 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.
- Specified by:
initin interfaceFieldOrekitStepHandler<T extends CalculusFieldElement<T>>- Parameters:
s0- initial statet- target time for the integration
-
handleStep
public void handleStep(FieldOrekitStepInterpolator<T> interpolator)
Handle the current step.- Specified by:
handleStepin interfaceFieldOrekitStepHandler<T extends CalculusFieldElement<T>>- Parameters:
interpolator- interpolator set up for the current step
-
-