public class VariablePotentialGravityModel extends AbstractHarmonicGravityModel implements PotentialTimeVariations
| Modifier and Type | Field and Description |
|---|---|
static String |
RADIUS
Parameter name for equatorial radius.
|
MU| Constructor and Description |
|---|
VariablePotentialGravityModel(Frame centralBodyFrame,
VariablePotentialCoefficientsProvider provider,
int degree,
int order)
Variable gravity field force model constructor (static part only).
|
VariablePotentialGravityModel(Frame centralBodyFrame,
VariablePotentialCoefficientsProvider provider,
int degree,
int order,
int degreePD,
int orderPD)
Variable gravity field force model constructor (static part only).
|
VariablePotentialGravityModel(Frame centralBodyFrame,
VariablePotentialCoefficientsProvider provider,
int degree,
int order,
int variableDegree,
int variableOrder,
boolean computeOptionalOnce)
Variable gravity field force model constructor.
|
VariablePotentialGravityModel(Frame centralBodyFrame,
VariablePotentialCoefficientsProvider provider,
int degree,
int order,
int variableDegree,
int variableOrder,
int degreePD,
int orderPD,
boolean computeOptionalOnce)
Variable gravity field force model constructor.
|
VariablePotentialGravityModel(Frame centralBodyFrame,
VariablePotentialCoefficientsProvider provider,
int degree,
int order,
int variableDegree,
int variableOrder,
int degreePD,
int orderPD,
boolean computeVariableCoefficientsOnce,
boolean centralTermContributionIn)
Variable gravity field force model constructor.
|
| 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.
|
double |
getAe()
Get the equatorial radius.
|
void |
setAe(double aeIn)
Set the equatorial radius.
|
void |
updateCoefficientsCandS(AbsoluteDate date)
Update the C and the S coefficients for acceleration computation.
|
void |
updateCoefficientsCandSPD(AbsoluteDate date)
Update the C and the S coefficients for partial derivatives computation.
|
computeAcceleration, computeCentralTermAcceleration, computeCentralTermDAccDPos, computeDAccDPos, isCentralTermContributionApplied, setCentralTermContributiongetBodyFrame, getMu, getMuParameter, setMupublic static final String RADIUS
public VariablePotentialGravityModel(Frame centralBodyFrame, VariablePotentialCoefficientsProvider provider, int degree, int order, int degreePD, int orderPD) throws PatriusException
centralBodyFrame - central rotating body frameprovider - normalized variable coefficients providerdegree - degree for acceleration computationorder - order for acceleration computationdegreePD - degree for partial derivatives computationorderPD - order for partial derivatives computationPatriusException - if degree too largepublic VariablePotentialGravityModel(Frame centralBodyFrame, VariablePotentialCoefficientsProvider provider, int degree, int order) throws PatriusException
centralBodyFrame - central rotating body frameprovider - normalized variable coefficients providerdegree - degreeorder - orderPatriusException - if degree too largepublic VariablePotentialGravityModel(Frame centralBodyFrame, VariablePotentialCoefficientsProvider provider, int degree, int order, int variableDegree, int variableOrder, boolean computeOptionalOnce) throws PatriusException
centralBodyFrame - central rotating body frameprovider - normalized variable coefficients providerdegree - degreeorder - ordervariableDegree - max degree of variable terms to take into accountvariableOrder - max order of variable terms to take into accountcomputeOptionalOnce - true to indicate that coefficients should be computed just once at instanciation. false if
coefficients are to be computed every time.PatriusException - if degree too largepublic VariablePotentialGravityModel(Frame centralBodyFrame, VariablePotentialCoefficientsProvider provider, int degree, int order, int variableDegree, int variableOrder, int degreePD, int orderPD, boolean computeOptionalOnce) throws PatriusException
centralBodyFrame - central rotating body frameprovider - normalized variable coefficients providerdegree - degree for acceleration computationorder - order for acceleration computationvariableDegree - max degree of optional terms to take into account for acceleration computationvariableOrder - max order of optional terms to take into account for acceleration computationdegreePD - degree for partial derivatives computationorderPD - order for partial derivatives computationcomputeOptionalOnce - true to indicate that coefficients should be computed just once at instantiation. false if
coefficients are to be computed every timePatriusException - if degree too largepublic VariablePotentialGravityModel(Frame centralBodyFrame, VariablePotentialCoefficientsProvider provider, int degree, int order, int variableDegree, int variableOrder, int degreePD, int orderPD, boolean computeVariableCoefficientsOnce, boolean centralTermContributionIn) throws PatriusException
centralBodyFrame - central rotating body frameprovider - normalized variable coefficients providerdegree - degree for acceleration computationorder - order for acceleration computationvariableDegree - max degree of variable terms to take into account for acceleration computationvariableOrder - max order of variable terms to take into account for acceleration computationdegreePD - degree for partial derivatives computationorderPD - order for partial derivatives computationcomputeVariableCoefficientsOnce - true to indicate that coefficients should be computed just once at instantiation. false if
coefficients are to be computed every timecentralTermContributionIn - true if central term contribution should be considered (by default), false if
notPatriusException - if degree too largepublic void updateCoefficientsCandS(AbsoluteDate date)
updateCoefficientsCandS in interface PotentialTimeVariationsdate - : datepublic void updateCoefficientsCandSPD(AbsoluteDate date)
updateCoefficientsCandSPD in interface PotentialTimeVariationsdate - : datepublic 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 double getAe()
public void setAe(double aeIn)
aeIn - the equatorial radius.Copyright © 2024 CNES. All rights reserved.