Package org.orekit.propagation.sampling
Class PropagationStepRecorder
java.lang.Object
org.orekit.propagation.sampling.PropagationStepRecorder
- All Implemented Interfaces:
OrekitStepHandler
Step handler recording states.
Automatically clears them at start of propagation.
- Since:
- 13.0
- Author:
- Romain Serra
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor with default flag.PropagationStepRecorder(boolean resetAutomatically) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionCopy the current saved steps.voidhandleStep(OrekitStepInterpolator interpolator) Handle the current step.voidinit(SpacecraftState s0, AbsoluteDate t) Initialize step handler at the start of a propagation.booleanGetter 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, waitMethods inherited from interface org.orekit.propagation.sampling.OrekitStepHandler
finish
-
Constructor Details
-
PropagationStepRecorder
public PropagationStepRecorder(boolean resetAutomatically) Constructor.- Parameters:
resetAutomatically- resetting flag- Since:
- 13.1
-
PropagationStepRecorder
public PropagationStepRecorder()Constructor with default flag.
-
-
Method Details
-
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
Copy the current saved steps.- Returns:
- copy of steps
-
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.
The default method does nothing
- Specified by:
initin interfaceOrekitStepHandler- Parameters:
s0- initial statet- target time for the integration
-
handleStep
Handle the current step.- Specified by:
handleStepin interfaceOrekitStepHandler- Parameters:
interpolator- interpolator set up for the current step
-