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:
CartesianAdjointEquationTerm
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractCartesianAdjointNewtonianTerm(double mu)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <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 Vector3D
getNewtonianAcceleration(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, getRatesContribution
-
Methods inherited from class org.orekit.control.indirect.adjoint.AbstractCartesianAdjointEquationTerm
buildFieldGradientCartesianVector, buildGradientCartesianVector, getAcceleration, getFieldAcceleration, getFieldHamiltonianContribution, getHamiltonianContribution
-
-
-
-
Method Detail
-
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
protected Vector3D getNewtonianAcceleration(double[] position)
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
-
-