Class PythonAccelerationModel

    • Constructor Detail

      • PythonAccelerationModel

        public PythonAccelerationModel()
    • Method Detail

      • pythonExtension

        public void pythonExtension​(long pythonObject)
        Part of JCC Python interface to object
      • pythonExtension

        public long pythonExtension()
        Part of JCC Python interface to object
      • pythonDecRef

        public void pythonDecRef()
        Part of JCC Python interface to object
      • signedAmplitude

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

        Specified by:
        signedAmplitude in interface AccelerationModel
        Parameters:
        state - current state information: date, kinematics, attitude
        parameters - 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:
        signedAmplitude in interface AccelerationModel
        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