public class ThirdBodyAttraction extends Object implements ForceModel
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 |
---|
ThirdBodyAttraction(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, wait
addContribution, addContribution, getEventDetectors, getFieldEventDetectors, init, init
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
getEventDetectors, getFieldEventDetectors
public static final String ATTRACTION_COEFFICIENT_SUFFIX
public ThirdBodyAttraction(CelestialBody body)
body
- the third body to consider
(ex: CelestialBodies.getSun()
or
CelestialBodies.getMoon()
)public boolean dependsOnPositionOnly()
dependsOnPositionOnly
in interface ForceModel
public org.hipparchus.geometry.euclidean.threed.Vector3D acceleration(SpacecraftState s, double[] parameters)
acceleration
in interface ForceModel
s
- 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 ForceModel
T
- 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 ParameterDriversProvider
Copyright © 2002-2023 CS GROUP. All rights reserved.