Package org.orekit.propagation.sampling
Class PythonMultiSatFixedStepHandler
- java.lang.Object
-
- org.orekit.propagation.sampling.PythonMultiSatFixedStepHandler
-
- All Implemented Interfaces:
MultiSatFixedStepHandler
public class PythonMultiSatFixedStepHandler extends Object implements MultiSatFixedStepHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected long
pythonObject
Part of JCC Python interface to object
-
Constructor Summary
Constructors Constructor Description PythonMultiSatFixedStepHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
void
finish(List<SpacecraftState> finalStates)
Finalize propagation.void
handleStep(List<SpacecraftState> states)
Handle the current step.void
init(List<SpacecraftState> states0, AbsoluteDate t, double step)
Initialize step handler at the start of a propagation.void
pythonDecRef()
long
pythonExtension()
void
pythonExtension(long pythonObject)
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
-
pythonExtension
public long pythonExtension()
-
finalize
public void finalize() throws Throwable
-
pythonDecRef
public void pythonDecRef()
-
init
public void init(List<SpacecraftState> states0, AbsoluteDate t, double step)
Description copied from interface:MultiSatFixedStepHandler
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:
init
in interfaceMultiSatFixedStepHandler
- Parameters:
states0
- initial states, one for each satellite in the same order used tobuild
themulti-sat propagator
.t
- 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(List<SpacecraftState> states)
Description copied from interface:MultiSatFixedStepHandler
Handle the current step.When called by
PropagatorsParallelizer
, all states have the same date.- Specified by:
handleStep
in interfaceMultiSatFixedStepHandler
- Parameters:
states
- states in the same order used tobuild
themulti-sat propagator
-
finish
public void finish(List<SpacecraftState> finalStates)
Description copied from interface:MultiSatFixedStepHandler
Finalize propagation.- Specified by:
finish
in interfaceMultiSatFixedStepHandler
- Parameters:
finalStates
- states at propagation end
-
-