Class AbstractCartesianAdjointNewtonianTerm

    • Constructor Detail

      • AbstractCartesianAdjointNewtonianTerm

        protected AbstractCartesianAdjointNewtonianTerm​(double mu)
        Constructor.
        Parameters:
        mu - body gravitational parameter
    • Method Detail

      • getNewtonianVelocityAdjointContribution

        protected double[] getNewtonianVelocityAdjointContribution​(double[] relativePosition,
                                                                   double[] adjointVariables)
        Computes the generic term of a Newtonian attraction (central or not).
        Parameters:
        relativePosition - relative position w.r.t. the body
        adjointVariables - adjoint variables
        Returns:
        contribution to velocity adjoint derivatives
      • getFieldNewtonianVelocityAdjointContribution

        protected <T extends CalculusFieldElement<T>> T[] getFieldNewtonianVelocityAdjointContribution​(T[] relativePosition,
                                                                                                       T[] adjointVariables)
        Computes the generic term of a Newtonian attraction (central or not).
        Type Parameters:
        T - field type
        Parameters:
        relativePosition - relative position w.r.t. the body
        adjointVariables - adjoint variables
        Returns:
        contribution to velocity adjoint derivatives
      • getNewtonianAcceleration

        protected Vector3D getNewtonianAcceleration​(double[] position)
        Compute the Newtonian acceleration.
        Parameters:
        position - position vector as array
        Returns:
        Newtonian acceleration vector
      • getFieldNewtonianAcceleration

        protected <T extends CalculusFieldElement<T>> FieldVector3D<T> getFieldNewtonianAcceleration​(T[] position)
        Compute the Newtonian acceleration.
        Type Parameters:
        T - field type
        Parameters:
        position - position vector as array
        Returns:
        Newtonian acceleration vector