public abstract class AbstractHarmonicGravityModel extends AbstractGravityModel
MU| Constructor and Description |
|---|
AbstractHarmonicGravityModel(Frame bodyFrameIn,
Parameter mu)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Vector3D |
computeAcceleration(Vector3D positionInBodyFrame,
AbsoluteDate date)
Compute the acceleration due to the gravitational attraction.
|
protected Vector3D |
computeCentralTermAcceleration(Vector3D positionInBodyFrame)
Compute the acceleration due to the central term of the gravitational attraction.
|
double[][] |
computeCentralTermDAccDPos(Vector3D positionInBodyFrame)
Compute acceleration derivatives with respect to the state parameters for the central term.
|
double[][] |
computeDAccDPos(Vector3D positionInBodyFrame,
AbsoluteDate date)
Compute acceleration derivatives with respect to the position of the spacecraft.
|
protected abstract Vector3D |
computeNonCentralTermsAcceleration(Vector3D positionInBodyFrame,
AbsoluteDate date)
Compute the acceleration due to the non-central terms of the gravitational attraction.
|
abstract double[][] |
computeNonCentralTermsDAccDPos(Vector3D positionInBodyFrame,
AbsoluteDate date)
Compute acceleration derivatives with respect to the state parameters for the non-central terms.
|
boolean |
isCentralTermContributionApplied()
Get the boolean for the central term contribution (true if the central term is considered, false if not).
|
void |
setCentralTermContribution(boolean centralTermContributionIn)
Set the boolean for the central term contribution (true if the central term is considered, false if not).
|
getBodyFrame, getMu, getMuParameter, setMuprotected Vector3D computeCentralTermAcceleration(Vector3D positionInBodyFrame) throws PatriusException
positionInBodyFrame - the position expressed in the body framePatriusException - if some specific error occursprotected abstract Vector3D computeNonCentralTermsAcceleration(Vector3D positionInBodyFrame, AbsoluteDate date) throws PatriusException
positionInBodyFrame - the position expressed in the body framedate - the datePatriusException - if some specific error occurspublic Vector3D computeAcceleration(Vector3D positionInBodyFrame, AbsoluteDate date) throws PatriusException
positionInBodyFrame - the position expressed in the body framedate - The date for which the computation needs to be performedPatriusException - if some specific error occurspublic double[][] computeCentralTermDAccDPos(Vector3D positionInBodyFrame) throws PatriusException
positionInBodyFrame - position of the spacecraft in the body framePatriusException - if derivatives cannot be computedpublic abstract double[][] computeNonCentralTermsDAccDPos(Vector3D positionInBodyFrame, AbsoluteDate date) throws PatriusException
positionInBodyFrame - position of the spacecraft in the body framedate - datePatriusException - if derivatives cannot be computedpublic double[][] computeDAccDPos(Vector3D positionInBodyFrame, AbsoluteDate date) throws PatriusException
positionInBodyFrame - the position expressed in the body framedate - The date for which the computation needs to be performedPatriusException - if derivatives cannot be computedpublic boolean isCentralTermContributionApplied()
public void setCentralTermContribution(boolean centralTermContributionIn)
centralTermContributionIn - the boolean for the central term contribution (true if the central term is
considered, false if not).Copyright © 2024 CNES. All rights reserved.