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.
|
NewtonianGravityModel(Frame centralBodyFrame,
double mu,
boolean computePD)
Simple constructor.
|
NewtonianGravityModel(Frame centralBodyFrame,
Parameter mu)
Simple constructor using
Parameter. |
NewtonianGravityModel(Frame centralBodyFrame,
Parameter mu,
boolean computePD)
Simple constructor using
Parameter. |
| 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.
|
void |
setCentralTermContribution(boolean centralTermContributionIn)
Set the boolean for the central term contribution (true if the central term is considered, false if not).
|
computeAcceleration, computeCentralTermAcceleration, computeCentralTermDAccDPos, computeDAccDPos, isCentralTermContributionAppliedgetBodyFrame, getMu, getMuParameter, setMupublic 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 AbstractHarmonicGravityModelpositionInBodyFrame - the position expressed in the body framedate - the datePatriusException - if some specific error occurspublic final double[][] computeNonCentralTermsDAccDPos(Vector3D positionInBodyFrame, AbsoluteDate date) throws PatriusException
computeNonCentralTermsDAccDPos in class AbstractHarmonicGravityModelpositionInBodyFrame - position of the spacecraft in the body framedate - datePatriusException - if derivatives cannot be computedpublic void setCentralTermContribution(boolean centralTermContributionIn)
This class does not accept the desactivation of the central term since it only contains the central term.
setCentralTermContribution in class AbstractHarmonicGravityModelcentralTermContributionIn - the boolean for the central term contribution (true if the central term is
considered, false if not).Copyright © 2025 CNES. All rights reserved.