public class SingleBodyAbsoluteAttraction extends Object implements ForceModel
This force model represents the same physical principles as NewtonianAttraction,
but has several major differences:
The possibility for the attracting body to be away from the frame center allows to use this force
model when integrating for example an interplanetary trajectory propagated in an Earth centered
frame (in which case an instance of InertialForces must also be
added to take into account the coupling effect of relative frames motion).
The possibility to add several instances allows to use this in interplanetary trajectories or in trajectories about Lagrangian points
The fact this force model is never automatically added by the numerical propagator differs
from NewtonianAttraction as NewtonianAttraction may be added automatically when
propagating a trajectory represented as an Orbit, which must always refer
to a central body, if user did not add the NewtonianAttraction or set the central attraction
coefficient by himself.
InertialForces| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRACTION_COEFFICIENT_SUFFIX
Suffix for parameter name for attraction coefficient enabling Jacobian processing.
|
DATATION_ACCURACY| Constructor and Description |
|---|
SingleBodyAbsoluteAttraction(CelestialBody body)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends org.hipparchus.CalculusFieldElement<T>> |
acceleration(FieldSpacecraftState<T> s,
T[] parameters)
Compute acceleration.
|
org.hipparchus.geometry.euclidean.threed.Vector3D |
acceleration(SpacecraftState s,
double[] parameters)
Compute acceleration.
|
boolean |
dependsOnPositionOnly()
Check if force models depends on position only.
|
List<ParameterDriver> |
getParametersDrivers()
Get the drivers for parameters.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddContribution, addContribution, getEventDetectors, getFieldEventDetectors, init, initgetNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupportedgetEventDetectors, getFieldEventDetectorspublic static final String ATTRACTION_COEFFICIENT_SUFFIX
public SingleBodyAbsoluteAttraction(CelestialBody body)
body - the body to consider
(ex: CelestialBodies.getSun() or
CelestialBodies.getMoon())public boolean dependsOnPositionOnly()
dependsOnPositionOnly in interface ForceModelpublic org.hipparchus.geometry.euclidean.threed.Vector3D acceleration(SpacecraftState s, double[] parameters)
acceleration in interface ForceModels - current state information: date, kinematics, attitudeparameters - values of the force model parameters at state date,
only 1 value for each parameterDriverpublic <T extends org.hipparchus.CalculusFieldElement<T>> org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> acceleration(FieldSpacecraftState<T> s, T[] parameters)
acceleration in interface ForceModelT - type of the elementss - current state information: date, kinematics, attitudeparameters - values of the force model parameters at state date,
only 1 value for each parameterDriverpublic List<ParameterDriver> getParametersDrivers()
getParametersDrivers in interface ParameterDriversProviderCopyright © 2002-2023 CS GROUP. All rights reserved.