Class CartesianAdjointJ2Term

    • Constructor Detail

      • CartesianAdjointJ2Term

        public CartesianAdjointJ2Term​(double mu,
                                      double rEq,
                                      double j2,
                                      Frame j2Frame)
        Constructor.
        Parameters:
        mu - central body gravitational parameter.
        rEq - equatorial radius
        j2 - J2 coefficient
        j2Frame - J2 frame
    • Method Detail

      • getrEq

        public double getrEq()
        Getter for central body equatorial radius.
        Returns:
        equatorial radius
      • getJ2

        public double getJ2()
        Getter for J2.
        Returns:
        J2 coefficient
      • getPositionAdjointContribution

        public double[] getPositionAdjointContribution​(AbsoluteDate date,
                                                       double[] stateVariables,
                                                       double[] adjointVariables,
                                                       Frame frame)
        Computes the contribution to position adjoint derivatives.
        Specified by:
        getPositionAdjointContribution in class AbstractCartesianAdjointGravitationalTerm
        Parameters:
        date - date
        stateVariables - state variables
        adjointVariables - adjoint variables
        frame - propagation frame
        Returns:
        contribution to position adjoint derivatives