public class NewtonianAttraction extends Object implements ForceModel
| Modifier and Type | Field and Description |
|---|---|
static String |
CENTRAL_ATTRACTION_COEFFICIENT
Name of the single parameter of this model: the central attraction coefficient.
|
DATATION_ACCURACY| Constructor and Description |
|---|
NewtonianAttraction(double mu)
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.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
addContribution(FieldSpacecraftState<T> s,
FieldTimeDerivativesEquations<T> adder)
Compute the contribution of the force model to the perturbing
acceleration.
|
void |
addContribution(SpacecraftState s,
TimeDerivativesEquations adder)
Compute the contribution of the force model to the perturbing
acceleration.
|
boolean |
dependsOnPositionOnly()
Check if force models depends on position only.
|
double |
getMu(AbsoluteDate date)
Get the central attraction coefficient μ.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
getMu(org.hipparchus.Field<T> field,
FieldAbsoluteDate<T> date)
Get the central attraction coefficient μ.
|
List<ParameterDriver> |
getParametersDrivers()
Get the drivers for parameters.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEventDetectors, getFieldEventDetectors, init, initgetNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupportedgetEventDetectors, getFieldEventDetectorspublic static final String CENTRAL_ATTRACTION_COEFFICIENT
public NewtonianAttraction(double mu)
mu - central attraction coefficient (m^3/s^2)public boolean dependsOnPositionOnly()
dependsOnPositionOnly in interface ForceModelpublic double getMu(AbsoluteDate date)
date - date at which the mu value wants to be knownpublic <T extends org.hipparchus.CalculusFieldElement<T>> T getMu(org.hipparchus.Field<T> field,
FieldAbsoluteDate<T> date)
T - the type of the field elementfield - field to which the state belongsdate - date at which the mu value wants to be knownpublic void addContribution(SpacecraftState s, TimeDerivativesEquations adder)
The default implementation simply adds the acceleration
as a non-Keplerian acceleration.
addContribution in interface ForceModels - current state information: date, kinematics, attitudeadder - object where the contribution should be addedpublic <T extends org.hipparchus.CalculusFieldElement<T>> void addContribution(FieldSpacecraftState<T> s, FieldTimeDerivativesEquations<T> adder)
addContribution in interface ForceModelT - type of the elementss - current state information: date, kinematics, attitudeadder - object where the contribution should be addedpublic 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.