Class AbstractCartesianAdjointNewtonianTerm
java.lang.Object
org.orekit.control.indirect.adjoint.AbstractCartesianAdjointEquationTerm
org.orekit.control.indirect.adjoint.AbstractCartesianAdjointGravitationalTerm
org.orekit.control.indirect.adjoint.AbstractCartesianAdjointNewtonianTerm
- All Implemented Interfaces:
CartesianAdjointEquationTerm
- Direct Known Subclasses:
AbstractCartesianAdjointNonCentralBodyTerm,CartesianAdjointKeplerianTerm
public abstract class AbstractCartesianAdjointNewtonianTerm
extends AbstractCartesianAdjointGravitationalTerm
Abstract class for common computations regarding adjoint dynamics and Newtonian gravity for Cartesian coordinates.
- Since:
- 12.2
- Author:
- Romain Serra
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractCartesianAdjointNewtonianTerm(double mu) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends CalculusFieldElement<T>>
FieldVector3D<T> getFieldNewtonianAcceleration(T[] position) Compute the Newtonian acceleration.protected <T extends CalculusFieldElement<T>>
T[]getFieldNewtonianVelocityAdjointContribution(T[] relativePosition, T[] adjointVariables) Computes the generic term of a Newtonian attraction (central or not).protected Vector3DgetNewtonianAcceleration(double[] position) Compute the Newtonian acceleration.protected double[]getNewtonianVelocityAdjointContribution(double[] relativePosition, double[] adjointVariables) Computes the generic term of a Newtonian attraction (central or not).Methods inherited from class org.orekit.control.indirect.adjoint.AbstractCartesianAdjointGravitationalTerm
getFieldRatesContribution, getMu, getPositionAdjointContribution, getPositionAdjointFieldContribution, getRatesContributionMethods inherited from class org.orekit.control.indirect.adjoint.AbstractCartesianAdjointEquationTerm
buildFieldGradientCartesianVector, buildGradientCartesianVector, getAcceleration, getFieldAcceleration, getFieldHamiltonianContribution, getHamiltonianContribution
-
Constructor Details
-
AbstractCartesianAdjointNewtonianTerm
protected AbstractCartesianAdjointNewtonianTerm(double mu) Constructor.- Parameters:
mu- body gravitational parameter
-
-
Method Details
-
getNewtonianVelocityAdjointContribution
protected double[] getNewtonianVelocityAdjointContribution(double[] relativePosition, double[] adjointVariables) Computes the generic term of a Newtonian attraction (central or not).- Parameters:
relativePosition- relative position w.r.t. the bodyadjointVariables- adjoint variables- Returns:
- contribution to velocity adjoint derivatives
-
getFieldNewtonianVelocityAdjointContribution
protected <T extends CalculusFieldElement<T>> T[] getFieldNewtonianVelocityAdjointContribution(T[] relativePosition, T[] adjointVariables) Computes the generic term of a Newtonian attraction (central or not).- Type Parameters:
T- field type- Parameters:
relativePosition- relative position w.r.t. the bodyadjointVariables- adjoint variables- Returns:
- contribution to velocity adjoint derivatives
-
getNewtonianAcceleration
Compute the Newtonian acceleration.- Parameters:
position- position vector as array- Returns:
- Newtonian acceleration vector
-
getFieldNewtonianAcceleration
protected <T extends CalculusFieldElement<T>> FieldVector3D<T> getFieldNewtonianAcceleration(T[] position) Compute the Newtonian acceleration.- Type Parameters:
T- field type- Parameters:
position- position vector as array- Returns:
- Newtonian acceleration vector
-