public class DirectBodyAttraction extends AbstractBodyAttraction
The implementation of this class enables the computation of partial derivatives by finite differences with respect to the central attraction coefficient.
computePartialDerivativesWrtPosition, K_FACTOR| Constructor and Description |
|---|
DirectBodyAttraction(GravityModel gravityModelIn)
Simple constructor.
|
DirectBodyAttraction(GravityModel gravityModelIn,
boolean computePD)
Simple constructor.
|
DirectBodyAttraction(GravityModel gravityModelIn,
boolean computePD,
Parameter k)
Simple constructor.
|
| 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].
|
protected Vector3D |
computeAcceleration(Vector3D positionInBodyFrame,
AbsoluteDate date,
Transform scFrameToBodyFrame)
Abstract method to compute the acceleration of the implementation
|
addContribution, addDAccDParam, addDAccDParam, addDAccDState, addDAccDState, computeAcceleration, computeGradientPosition, computeGradientVelocity, getEventsDetectors, getGravityModel, getMultiplicativeFactor, getMultiplicativeFactorParameter, setMultiplicativeFactoraddJacobiansParameter, addJacobiansParameter, addJacobiansParameter, supportsJacobianParameteraddAllParameters, addAllParameters, addParameter, getParameters, supportsParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameters, supportsParameterpublic DirectBodyAttraction(GravityModel gravityModelIn)
gravityModelIn - the gravitational attraction model to considerNullArgumentException - if gravityModelIn is nullpublic DirectBodyAttraction(GravityModel gravityModelIn, boolean computePD)
Simple constructor.
gravityModelIn - the gravitational attraction model to considercomputePD - true if partial derivatives have to be computedNullArgumentException - if gravityModelIn is nullpublic DirectBodyAttraction(GravityModel gravityModelIn, boolean computePD, Parameter k)
Simple constructor.
gravityModelIn - the gravitational attraction model to considercomputePD - true if partial derivatives have to be computedk - The multiplicative coefficient parameterNullArgumentException - if gravityModelIn is nullprotected Vector3D computeAcceleration(Vector3D positionInBodyFrame, AbsoluteDate date, Transform scFrameToBodyFrame) throws PatriusException
computeAcceleration in class AbstractBodyAttractionpositionInBodyFrame - position in body framedate - datescFrameToBodyFrame - transform from spacecraft frame to body framePatriusException - thrown if computation failedpublic void checkData(AbsoluteDate start, AbsoluteDate end) throws PatriusException
start - range start dateend - range end datePatriusException - thrown if some data is missingCopyright © 2025 CNES. All rights reserved.