public interface GravityModel extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
checkData(AbsoluteDate start,
AbsoluteDate end)
This methods throws an exception if the user did not provide all the required data to perform model call on
provided range [start; end].
|
Vector3D |
computeAcceleration(Vector3D pos,
Frame frame,
AbsoluteDate date)
Compute the acceleration due to the gravitational attraction, accounting for both central and non-central terms.
|
double[][] |
computeDAccDPos(Vector3D pos,
Frame frame,
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 pos, Frame frame, AbsoluteDate date) throws PatriusException
pos
- position of the spacecraftframe
- frame in which the acceleration is computeddate
- datePatriusException
- if some specific error occursdouble[][] computeDAccDPos(Vector3D pos, Frame frame, AbsoluteDate date) throws PatriusException
pos
- position of the spacecraftframe
- frame in which the acceleration derivatives are computeddate
- datePatriusException
- if derivatives cannot be computedvoid checkData(AbsoluteDate start, AbsoluteDate end) throws PatriusException
start
- range start dateend
- range end datePatriusException
- thrown if some data is missingCopyright © 2023 CNES. All rights reserved.