public interface GravityModel extends Serializable
Modifier and Type | Method and Description |
---|---|
Vector3D |
computeAcceleration(Vector3D positionInBodyFrame,
AbsoluteDate date)
Compute the acceleration due to the gravitational attraction.
|
double[][] |
computeDAccDPos(Vector3D positionInBodyFrame,
AbsoluteDate date)
Compute acceleration derivatives with respect to the position of the spacecraft.
|
Frame |
getBodyFrame()
Get the central body frame.
|
double |
getMu()
Get the central attraction coefficient.
|
void |
setMu(double muIn)
Set the central attraction coefficient.
|
double getMu()
void setMu(double muIn)
muIn
- the central attraction coefficient.Frame getBodyFrame()
Vector3D computeAcceleration(Vector3D positionInBodyFrame, AbsoluteDate date) throws PatriusException
positionInBodyFrame
- the position expressed in the body frame
date
- The date for which the computation needs to be performedPatriusException
- if some specific error occursdouble[][] computeDAccDPos(Vector3D positionInBodyFrame, AbsoluteDate date) throws PatriusException
positionInBodyFrame
- the position expressed in the body frame
date
- The date for which the computation needs to be performedPatriusException
- if derivatives cannot be computedCopyright © 2023 CNES. All rights reserved.