Class CartesianAdjointInertialTerm
- java.lang.Object
-
- org.orekit.control.indirect.adjoint.AbstractCartesianAdjointEquationTerm
-
- org.orekit.control.indirect.adjoint.CartesianAdjointInertialTerm
-
- All Implemented Interfaces:
CartesianAdjointEquationTerm
public class CartesianAdjointInertialTerm extends AbstractCartesianAdjointEquationTerm
Class defining inertial forces' contributions in the adjoint equations for Cartesian coordinates. If present, then the propagator should also include inertial forces.- Since:
- 12.2
- Author:
- Romain Serra
- See Also:
CartesianAdjointEquationTerm
,InertialForces
-
-
Constructor Summary
Constructors Constructor Description CartesianAdjointInertialTerm(Frame referenceInertialFrame)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector3D
getAcceleration(Transform inertialToPropagationFrame, double[] stateVariables)
Evaluates the inertial acceleration vector.protected Vector3D
getAcceleration(AbsoluteDate date, double[] stateVariables, Frame frame)
Compute the acceleration vector.protected <T extends CalculusFieldElement<T>>
FieldVector3D<T>getFieldAcceleration(FieldAbsoluteDate<T> date, T[] stateVariables, Frame frame)
Compute the acceleration vector.<T extends CalculusFieldElement<T>>
T[]getFieldRatesContribution(FieldAbsoluteDate<T> date, T[] stateVariables, T[] adjointVariables, Frame frame)
Computes the contribution to the rates of the adjoint variables.double[]
getRatesContribution(AbsoluteDate date, double[] stateVariables, double[] adjointVariables, Frame frame)
Computes the contribution to the rates of the adjoint variables.Frame
getReferenceInertialFrame()
Getter for reference frame.-
Methods inherited from class org.orekit.control.indirect.adjoint.AbstractCartesianAdjointEquationTerm
buildFieldGradientCartesianVector, buildGradientCartesianVector, getFieldHamiltonianContribution, getHamiltonianContribution
-
-
-
-
Constructor Detail
-
CartesianAdjointInertialTerm
public CartesianAdjointInertialTerm(Frame referenceInertialFrame)
Constructor.- Parameters:
referenceInertialFrame
- reference inertial frame
-
-
Method Detail
-
getReferenceInertialFrame
public Frame getReferenceInertialFrame()
Getter for reference frame.- Returns:
- frame
-
getRatesContribution
public double[] getRatesContribution(AbsoluteDate date, double[] stateVariables, double[] adjointVariables, Frame frame)
Computes the contribution to the rates of the adjoint variables.- Specified by:
getRatesContribution
in interfaceCartesianAdjointEquationTerm
- Overrides:
getRatesContribution
in classAbstractCartesianAdjointEquationTerm
- Parameters:
date
- datestateVariables
- state variablesadjointVariables
- adjoint variablesframe
- propagation frame- Returns:
- contribution to the adjoint derivative vector
-
getFieldRatesContribution
public <T extends CalculusFieldElement<T>> T[] getFieldRatesContribution(FieldAbsoluteDate<T> date, T[] stateVariables, T[] adjointVariables, Frame frame)
Computes the contribution to the rates of the adjoint variables.- Specified by:
getFieldRatesContribution
in interfaceCartesianAdjointEquationTerm
- Overrides:
getFieldRatesContribution
in classAbstractCartesianAdjointEquationTerm
- Type Parameters:
T
- field type- Parameters:
date
- datestateVariables
- state variablesadjointVariables
- adjoint variablesframe
- propagation frame- Returns:
- contribution to the adjoint derivative vector
-
getAcceleration
protected 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
-
getAcceleration
public Vector3D getAcceleration(Transform inertialToPropagationFrame, double[] stateVariables)
Evaluates the inertial acceleration vector.- Parameters:
inertialToPropagationFrame
- transform from inertial to propagation framestateVariables
- state variables- Returns:
- acceleration
-
getFieldAcceleration
protected <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
-
-