Class GHmsjPolynomials


  • public class GHmsjPolynomials
    extends Object
    Compute the Gmsj and the Hmsj polynomials in the equinoctial elements h, k and the direction cosines α and β and their partial derivatives with respect to k, h, α and β.

    The expressions used are equations 2.7.5-(1)(2) from the Danielson paper.

    Author:
    Romain Di Costanzo
    • Constructor Summary

      Constructors 
      Constructor Description
      GHmsjPolynomials​(double k, double h, double alpha, double beta, int retroFactor)
      Create a set of Gmsj and Hmsj polynomials.
    • Constructor Detail

      • GHmsjPolynomials

        public GHmsjPolynomials​(double k,
                                double h,
                                double alpha,
                                double beta,
                                int retroFactor)
        Create a set of Gmsj and Hmsj polynomials.
        Parameters:
        k - X component of the eccentricity vector
        h - Y component of the eccentricity vector
        alpha - direction cosine α
        beta - direction cosine β
        retroFactor - -1 if the orbit is represented as retrograde, +1 otherwise
    • Method Detail

      • getGmsj

        public double getGmsj​(int m,
                              int s,
                              int j)
        Get the Gmsj coefficient.
        Parameters:
        m - m subscript
        s - s subscript
        j - order
        Returns:
        the Gmsj
      • getHmsj

        public double getHmsj​(int m,
                              int s,
                              int j)
        Get the Hmsj coefficient.
        Parameters:
        m - m subscript
        s - s subscript
        j - order
        Returns:
        the Hmsj
      • getdGmsdk

        public double getdGmsdk​(int m,
                                int s,
                                int j)
        Get the dGmsj / dk coefficient.
        Parameters:
        m - m subscript
        s - s subscript
        j - order
        Returns:
        dGmsj / dk
      • getdGmsdh

        public double getdGmsdh​(int m,
                                int s,
                                int j)
        Get the dGmsj / dh coefficient.
        Parameters:
        m - m subscript
        s - s subscript
        j - order
        Returns:
        dGmsj / dh
      • getdGmsdAlpha

        public double getdGmsdAlpha​(int m,
                                    int s,
                                    int j)
        Get the dGmsj / dα coefficient.
        Parameters:
        m - m subscript
        s - s subscript
        j - order
        Returns:
        dGmsj / dα
      • getdGmsdBeta

        public double getdGmsdBeta​(int m,
                                   int s,
                                   int j)
        Get the dGmsj / dβ coefficient.
        Parameters:
        m - m subscript
        s - s subscript
        j - order
        Returns:
        dGmsj / dβ
      • getdHmsdk

        public double getdHmsdk​(int m,
                                int s,
                                int j)
        Get the dHmsj / dk coefficient.
        Parameters:
        m - m subscript
        s - s subscript
        j - order
        Returns:
        dHmsj / dk
      • getdHmsdh

        public double getdHmsdh​(int m,
                                int s,
                                int j)
        Get the dHmsj / dh coefficient.
        Parameters:
        m - m subscript
        s - s subscript
        j - order
        Returns:
        dHmsj / dh
      • getdHmsdAlpha

        public double getdHmsdAlpha​(int m,
                                    int s,
                                    int j)
        Get the dHmsj / dα coefficient.
        Parameters:
        m - m subscript
        s - s subscript
        j - order
        Returns:
        dHmsj / dα
      • getdHmsdBeta

        public double getdHmsdBeta​(int m,
                                   int s,
                                   int j)
        Get the dHmsj / dβ coefficient.
        Parameters:
        m - m subscript
        s - s subscript
        j - order
        Returns:
        dHmsj / dβ