Interface AccelerationModel

    • Method Detail

      • init

        default void init​(SpacecraftState initialState,
                          AbsoluteDate target)
        Initialize the acceleration model at the start of the propagation.

        The default implementation of this method does nothing

        Parameters:
        initialState - spacecraft state at the start of propagation.
        target - date of propagation. Not equal to initialState.getDate().
      • signedAmplitude

        double signedAmplitude​(SpacecraftState state,
                               double[] 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.

        Parameters:
        state - current state information: date, kinematics, attitude
        parameters - values of the force model parameters
        Returns:
        norm of the acceleration
      • signedAmplitude

        <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.

        Type Parameters:
        T - type of the elements
        Parameters:
        state - current state information: date, kinematics, attitude
        parameters - values of the force model parameters
        Returns:
        norm of the acceleration