Package org.orekit.propagation.sampling
Class PythonOrekitFixedStepHandler
- java.lang.Object
-
- org.orekit.propagation.sampling.PythonOrekitFixedStepHandler
-
- All Implemented Interfaces:
OrekitFixedStepHandler
public class PythonOrekitFixedStepHandler extends Object implements OrekitFixedStepHandler
This interface is a space-dynamics aware fixed size step handler.It mirrors the
FixedStepHandler
interface from commons-math but provides a space-dynamics interface to the methods.- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description PythonOrekitFixedStepHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectvoid
finish(SpacecraftState finalState)
Finalize propagation.void
handleStep(SpacecraftState currentState)
Handle the current step.void
init(SpacecraftState s0, AbsoluteDate t, double step)
Initialize step handler at the start of a propagation.void
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
pythonExtension
public long pythonExtension()
Part of JCC Python interface to object
-
finalize
public void finalize() throws Throwable
Part of JCC Python interface to object
-
pythonDecRef
public void pythonDecRef()
Part of JCC Python interface to object
-
init
public void init(SpacecraftState s0, AbsoluteDate t, double 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.
- Specified by:
init
in interfaceOrekitFixedStepHandler
- 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
public void handleStep(SpacecraftState currentState)
Handle the current step.- Specified by:
handleStep
in interfaceOrekitFixedStepHandler
- Parameters:
currentState
- current state at step time
-
finish
public void finish(SpacecraftState finalState)
Finalize propagation.- Specified by:
finish
in interfaceOrekitFixedStepHandler
- Parameters:
finalState
- state at propagation end- Since:
- 11.0
-
-