Class HansenZonalLinear


  • public class HansenZonalLinear
    extends Object
    Hansen coefficients K(t,n,s) for t=0 and n < 0.

    Implements Collins 4-242 or echivalently, Danielson 2.7.3-(6) for Hansen Coefficients and Collins 4-245 or Danielson 3.1-(7) for derivatives. The recursions are transformed into composition of linear transformations to obtain the associated polynomials for coefficients and their derivatives - see Petre's paper

    Author:
    Petre Bazavan, Lucian Barbulescu
    • Constructor Detail

      • HansenZonalLinear

        public HansenZonalLinear​(int nMax,
                                 int s)
        Constructor.
        Parameters:
        nMax - the maximum (absolute) value of n coefficient
        s - s coefficient
    • Method Detail

      • computeInitValues

        public void computeInitValues​(double chi)
        Compute the roots for the Hansen coefficients and their derivatives.
        Parameters:
        chi - 1 / sqrt(1 - e²)
      • getValue

        public double getValue​(int mnm1,
                               double chi)
        Get the K₀-n-1,s coefficient value.

        The s value is given in the class constructor

        Parameters:
        mnm1 - (-n-1) coefficient
        chi - The value of χ
        Returns:
        K₀-n-1,s
      • getDerivative

        public double getDerivative​(int mnm1,
                                    double chi)
        Get the dK₀-n-1,s / dΧ coefficient derivative.

        The s value is given in the class constructor.

        Parameters:
        mnm1 - (-n-1) coefficient
        chi - The value of χ
        Returns:
        dK₀-n-1,s / dΧ