Class AbstractCartesianAdjointGravitationalTerm

    • Constructor Detail

      • AbstractCartesianAdjointGravitationalTerm

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

      • getMu

        public double getMu()
        Getter for the gravitational constant.
        Returns:
        mu
      • getPositionAdjointContribution

        protected abstract double[] getPositionAdjointContribution​(AbsoluteDate date,
                                                                   double[] stateVariables,
                                                                   double[] adjointVariables,
                                                                   Frame frame)
        Computes the contribution to position adjoint derivatives.
        Parameters:
        date - date
        stateVariables - state variables
        adjointVariables - adjoint variables
        frame - propagation frame
        Returns:
        contribution to position adjoint derivatives
      • getPositionAdjointFieldContribution

        protected abstract <T extends CalculusFieldElement<T>> T[] getPositionAdjointFieldContribution​(FieldAbsoluteDate<T> date,
                                                                                                       T[] stateVariables,
                                                                                                       T[] adjointVariables,
                                                                                                       Frame frame)
        Computes the contribution to position adjoint derivatives.
        Type Parameters:
        T - field type
        Parameters:
        date - date
        stateVariables - state variables
        adjointVariables - adjoint variables
        frame - propagation frame
        Returns:
        contribution to position adjoint derivatives