Package org.orekit.forces.empirical
Class PolynomialAccelerationModel
java.lang.Object
org.orekit.forces.empirical.PolynomialAccelerationModel
- All Implemented Interfaces:
AccelerationModel,ParameterDriversProvider
Polynomial acceleration model.
- Since:
- 10.3
- Author:
- Luc Maisonobe, Bryan Cazabonne
-
Constructor Summary
ConstructorsConstructorDescriptionPolynomialAccelerationModel(String prefix, AbsoluteDate referenceDate, int degree) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the drivers for parameters.voidinit(SpacecraftState initialState, AbsoluteDate target) Initialize the acceleration model at the start of the propagation.<T extends CalculusFieldElement<T>>
TsignedAmplitude(FieldSpacecraftState<T> state, T[] parameters) Compute the signed amplitude of the acceleration.doublesignedAmplitude(SpacecraftState state, double[] parameters) Compute the signed amplitude of the acceleration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
Constructor Details
-
PolynomialAccelerationModel
Simple constructor.- Parameters:
prefix- prefix to use for parameter driversreferenceDate- reference date for computing polynomials, if null the reference date will be automatically set at propagation startdegree- polynomial degree (i.e. a value of 0 corresponds to a constant acceleration)
-
-
Method Details
-
init
Initialize the acceleration model at the start of the propagation.The default implementation of this method does nothing
- Specified by:
initin interfaceAccelerationModel- Parameters:
initialState- spacecraft state at the start of propagation.target- date of propagation. Not equal toinitialState.getDate().
-
signedAmplitude
Compute the signed amplitude of the acceleration.The acceleration is the direction multiplied by the signed amplitude. So if signed amplitude is negative, the acceleratin is towards the opposite of the direction specified at construction.
- Specified by:
signedAmplitudein interfaceAccelerationModel- Parameters:
state- current state information: date, kinematics, attitudeparameters- values of the force model parameters- Returns:
- norm of the acceleration
-
signedAmplitude
public <T extends CalculusFieldElement<T>> T signedAmplitude(FieldSpacecraftState<T> state, T[] parameters) Compute the signed amplitude of the acceleration.The acceleration is the direction multiplied by the signed amplitude. So if signed amplitude is negative, the acceleratin is towards the opposite of the direction specified at construction.
- Specified by:
signedAmplitudein interfaceAccelerationModel- Type Parameters:
T- type of the elements- Parameters:
state- current state information: date, kinematics, attitudeparameters- values of the force model parameters- Returns:
- norm of the acceleration
-
getParametersDrivers
Get the drivers for parameters.- Specified by:
getParametersDriversin interfaceParameterDriversProvider- Returns:
- drivers for parameters
-