Class CartesianAdjointSingleBodyTerm
- java.lang.Object
-
- org.orekit.control.indirect.adjoint.AbstractCartesianAdjointEquationTerm
-
- org.orekit.control.indirect.adjoint.AbstractCartesianAdjointGravitationalTerm
-
- org.orekit.control.indirect.adjoint.AbstractCartesianAdjointNewtonianTerm
-
- org.orekit.control.indirect.adjoint.AbstractCartesianAdjointNonCentralBodyTerm
-
- org.orekit.control.indirect.adjoint.CartesianAdjointSingleBodyTerm
-
- All Implemented Interfaces:
CartesianAdjointEquationTerm
public class CartesianAdjointSingleBodyTerm extends AbstractCartesianAdjointNonCentralBodyTerm
Class defining the contributions of a point-mass, single body gravity in the adjoint equations for Cartesian coordinates. If present, then the propagator should also include the Newtonian attraction of a body. This is similar toCartesianAdjointKeplerianTerm
but with the body not necessarily a central one.- Since:
- 12.2
- Author:
- Romain Serra
- See Also:
CartesianAdjointEquationTerm
,SingleBodyAbsoluteAttraction
-
-
Constructor Summary
Constructors Constructor Description CartesianAdjointSingleBodyTerm(double mu, ExtendedPositionProvider bodyPositionProvider)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector3D
getAcceleration(AbsoluteDate date, double[] stateVariables, Frame frame)
Compute the acceleration vector.<T extends CalculusFieldElement<T>>
FieldVector3D<T>getFieldAcceleration(FieldAbsoluteDate<T> date, T[] stateVariables, Frame frame)
Compute the acceleration vector.-
Methods inherited from class org.orekit.control.indirect.adjoint.AbstractCartesianAdjointNonCentralBodyTerm
formFieldRelativePosition, formRelativePosition, getBodyPosition, getFieldBodyPosition, getPositionAdjointContribution, getPositionAdjointFieldContribution
-
Methods inherited from class org.orekit.control.indirect.adjoint.AbstractCartesianAdjointNewtonianTerm
getFieldNewtonianAcceleration, getFieldNewtonianVelocityAdjointContribution, getNewtonianAcceleration, getNewtonianVelocityAdjointContribution
-
Methods inherited from class org.orekit.control.indirect.adjoint.AbstractCartesianAdjointGravitationalTerm
getFieldRatesContribution, getMu, getRatesContribution
-
Methods inherited from class org.orekit.control.indirect.adjoint.AbstractCartesianAdjointEquationTerm
buildFieldGradientCartesianVector, buildGradientCartesianVector, getFieldHamiltonianContribution, getHamiltonianContribution
-
-
-
-
Constructor Detail
-
CartesianAdjointSingleBodyTerm
public CartesianAdjointSingleBodyTerm(double mu, ExtendedPositionProvider bodyPositionProvider)
Constructor.- Parameters:
mu
- body gravitational parameter.bodyPositionProvider
- body position provider
-
-
Method Detail
-
getAcceleration
public Vector3D getAcceleration(AbsoluteDate date, double[] stateVariables, Frame frame)
Compute the acceleration vector.- Specified by:
getAcceleration
in classAbstractCartesianAdjointEquationTerm
- Parameters:
date
- datestateVariables
- state variablesframe
- propagation frame- Returns:
- acceleration vector
-
getFieldAcceleration
public <T extends CalculusFieldElement<T>> FieldVector3D<T> getFieldAcceleration(FieldAbsoluteDate<T> date, T[] stateVariables, Frame frame)
Compute the acceleration vector.- Specified by:
getFieldAcceleration
in classAbstractCartesianAdjointEquationTerm
- Type Parameters:
T
- field type- Parameters:
date
- datestateVariables
- state variablesframe
- propagation frame- Returns:
- acceleration vector
-
-