Package org.orekit.utils
Class PythonAbstractMultipleShooting
- java.lang.Object
-
- org.orekit.utils.AbstractMultipleShooting
-
- org.orekit.utils.PythonAbstractMultipleShooting
-
- All Implemented Interfaces:
MultipleShooting
public class PythonAbstractMultipleShooting extends AbstractMultipleShooting
-
-
Constructor Summary
Constructors Constructor Description PythonAbstractMultipleShooting(List<SpacecraftState> initialGuessList, List<NumericalPropagator> propagatorList, double arcDuration, double tolerance, int maxIter, String additionalName)
Simple Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
computeAdditionalConstraints(List<SpacecraftState> propagatedSP)
Compute the additional constraints.double[][]
computeAdditionalJacobianMatrix(List<SpacecraftState> propagatedSP)
Compute a part of the Jacobian matrix from additional constraints.void
finalize()
Part of JCC Python interface to objectSpacecraftState
getAugmentedInitialState(SpacecraftState initialState, AdditionalEquations additionalEquations2)
Compute the additional state from the additionalEquations.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-
Methods inherited from class org.orekit.utils.AbstractMultipleShooting
addConstraint, compute, computeEpochJacobianMatrix, getAugmentedInitialState, getConstraintsMap, getFreeEpochMap, getFreePatchPointMap, getNumberOfConstraints, getNumberOfFreeEpoch, getNumberOfFreeVariables, getPatchedSpacecraftState, getPatchPoint, getPropagatorList, isClosedOrbit, setClosedOrbitConstraint, setEpochFreedom, setPatchPointComponentFreedom, updateAdditionalConstraints
-
-
-
-
Constructor Detail
-
PythonAbstractMultipleShooting
public PythonAbstractMultipleShooting(List<SpacecraftState> initialGuessList, List<NumericalPropagator> propagatorList, double arcDuration, double tolerance, int maxIter, String additionalName)
Simple Constructor.Standard constructor for multiple shooting
- Parameters:
initialGuessList
- initial patch points to be corrected.propagatorList
- list of propagators associated to each patch point.arcDuration
- initial guess of the duration of each arc.tolerance
- convergence tolerance on the constraint vector.maxIter
- maximum number of iterationsadditionalName
- name of the additional equations- Since:
- 11.1
-
-
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
-
computeAdditionalConstraints
public double[] computeAdditionalConstraints(List<SpacecraftState> propagatedSP)
Compute the additional constraints.- Specified by:
computeAdditionalConstraints
in classAbstractMultipleShooting
- Parameters:
propagatedSP
- propagated SpacecraftState- Returns:
- fxAdditionnal additional constraints
-
computeAdditionalJacobianMatrix
public double[][] computeAdditionalJacobianMatrix(List<SpacecraftState> propagatedSP)
Compute a part of the Jacobian matrix from additional constraints.- Specified by:
computeAdditionalJacobianMatrix
in classAbstractMultipleShooting
- Parameters:
propagatedSP
- propagatedSP- Returns:
- jacobianMatrix Jacobian sub-matrix
-
getAugmentedInitialState
public SpacecraftState getAugmentedInitialState(SpacecraftState initialState, AdditionalEquations additionalEquations2)
Compute the additional state from the additionalEquations.- Overrides:
getAugmentedInitialState
in classAbstractMultipleShooting
- Parameters:
initialState
- SpacecraftState without the additional stateadditionalEquations2
- Additional Equations.- Returns:
- augmentedSP SpacecraftState with the additional state within.
-
-