public class NewtonianAttraction extends AbstractForceModel
Modifier and Type | Field and Description |
---|---|
static String |
CENTRAL_ATTRACTION_COEFFICIENT
Name of the single parameter of this model: the central attraction coefficient.
|
Constructor and Description |
---|
NewtonianAttraction(double mu)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends RealFieldElement<T>> |
acceleration(FieldSpacecraftState<T> s,
T[] parameters)
Compute acceleration.
|
Vector3D |
acceleration(SpacecraftState s,
double[] parameters)
Compute acceleration.
|
<T extends RealFieldElement<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.
|
Stream<EventDetector> |
getEventsDetectors()
Get the discrete events related to the model.
|
<T extends RealFieldElement<T>> |
getFieldEventsDetectors(Field<T> field)
Get the discrete events related to the model.
|
double |
getMu()
Get the central attraction coefficient μ.
|
ParameterDriver[] |
getParametersDrivers()
Get the drivers for force model parameters.
|
complainIfNotSupported, getParameterDriver, isSupported
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParameters, getParameters, init
public static final String CENTRAL_ATTRACTION_COEFFICIENT
public NewtonianAttraction(double mu)
mu
- central attraction coefficient (m^3/s^2)public boolean dependsOnPositionOnly()
public double getMu()
public void addContribution(SpacecraftState s, TimeDerivativesEquations adder) throws OrekitException
The default implementation simply adds the acceleration
as a non-Keplerian acceleration.
s
- current state information: date, kinematics, attitudeadder
- object where the contribution should be addedOrekitException
- if some specific error occurspublic <T extends RealFieldElement<T>> void addContribution(FieldSpacecraftState<T> s, FieldTimeDerivativesEquations<T> adder) throws OrekitException
T
- type of the elementss
- current state information: date, kinematics, attitudeadder
- object where the contribution should be addedOrekitException
- if some specific error occurspublic Vector3D acceleration(SpacecraftState s, double[] parameters) throws OrekitException
s
- current state information: date, kinematics, attitudeparameters
- values of the force model parametersOrekitException
- if some specific error occurspublic <T extends RealFieldElement<T>> FieldVector3D<T> acceleration(FieldSpacecraftState<T> s, T[] parameters) throws OrekitException
T
- type of the elementss
- current state information: date, kinematics, attitudeparameters
- values of the force model parametersOrekitException
- if some specific error occurspublic Stream<EventDetector> getEventsDetectors()
public <T extends RealFieldElement<T>> Stream<FieldEventDetector<T>> getFieldEventsDetectors(Field<T> field)
T
- extends RealFieldElementfield
- field to which the state belongspublic ParameterDriver[] getParametersDrivers()
Copyright © 2002-2017 CS Systèmes d'information. All rights reserved.