public class NewtonianGravityModel extends AbstractHarmonicGravityModel
The implementation of this class enables the computation of partial derivatives with respect to the central attraction coefficient.
MU
Constructor and Description |
---|
NewtonianGravityModel(double mu)
Simple constructor for Earth-centered computations: uses GCRF.
|
NewtonianGravityModel(Frame centralBodyFrame,
double mu)
Simple constructor.
Note that the body frame is used for translation only. |
NewtonianGravityModel(Frame centralBodyFrame,
double mu,
boolean computePD)
Simple constructor.
Note that the body frame is used for translation only. |
NewtonianGravityModel(Frame centralBodyFrame,
Parameter mu)
Simple constructor using
Parameter .Note that the body frame is used for translation only. |
NewtonianGravityModel(Frame centralBodyFrame,
Parameter mu,
boolean computePD)
Simple constructor using
Parameter .Note that the body frame is used for translation only. |
Modifier and Type | Method and Description |
---|---|
Vector3D |
computeNonCentralTermsAcceleration(Vector3D positionInBodyFrame,
AbsoluteDate date)
Compute the acceleration due to the non-central terms of the gravitational attraction.
|
double[][] |
computeNonCentralTermsDAccDPos(Vector3D positionInBodyFrame,
AbsoluteDate date)
Compute acceleration derivatives with respect to the state parameters for the non-central terms.
|
computeAcceleration, computeCentralTermAcceleration, computeCentralTermDAccDPos, computeDAccDPos, isCentralTermContributionApplied, setCentralTermContribution
getBodyFrame, getMu, getMuParameter, setMu
public NewtonianGravityModel(double mu)
mu
- central attraction coefficient (m^3/s^2)public NewtonianGravityModel(Frame centralBodyFrame, double mu)
centralBodyFrame
- body frame of the central bodymu
- central attraction coefficient (m^3/s^2)public NewtonianGravityModel(Frame centralBodyFrame, double mu, boolean computePD)
centralBodyFrame
- body frame of the central bodymu
- central attraction coefficient (m^3/s^2)computePD
- true if partial derivatives wrt position have to be computedpublic NewtonianGravityModel(Frame centralBodyFrame, Parameter mu)
Parameter
.centralBodyFrame
- body frame of the central bodymu
- parameter representing central attraction coefficient (m^3/s^2)public NewtonianGravityModel(Frame centralBodyFrame, Parameter mu, boolean computePD)
Parameter
.centralBodyFrame
- body frame of the central bodymu
- parameter representing central attraction coefficient (m^3/s^2)computePD
- true if partial derivatives wrt position have to be computedpublic Vector3D computeNonCentralTermsAcceleration(Vector3D positionInBodyFrame, AbsoluteDate date) throws PatriusException
computeNonCentralTermsAcceleration
in class AbstractHarmonicGravityModel
positionInBodyFrame
- the position expressed in the body frame
date
- the datePatriusException
- if some specific error occurspublic final double[][] computeNonCentralTermsDAccDPos(Vector3D positionInBodyFrame, AbsoluteDate date) throws PatriusException
computeNonCentralTermsDAccDPos
in class AbstractHarmonicGravityModel
positionInBodyFrame
- position of the spacecraft in the body framedate
- datePatriusException
- if derivatives cannot be computedCopyright © 2023 CNES. All rights reserved.