Class LoveNumbers

    • Constructor Detail

      • LoveNumbers

        public LoveNumbers​(double[][] real,
                           double[][] imaginary,
                           double[][] plus)
        Simple constructor.
        Parameters:
        real - real part of the nominal Love numbers
        imaginary - imaginary part of the nominal Love numbers
        plus - time-dependent part of the Love numbers
    • Method Detail

      • getSize

        public int getSize()
        Get the size of the arrays.
        Returns:
        size of the arrays (i.e. max degree for Love numbers + 1)
      • getReal

        public final double getReal​(int n,
                                    int m)
        Get the real part of a nominal Love numbers.
        Parameters:
        n - degree of the Love number (must be less than getSize())
        m - order of the Love number (must be less than n)
        Returns:
        real part of kn,m
      • getImaginary

        public final double getImaginary​(int n,
                                         int m)
        Get the imaginary part of a nominal Love numbers.
        Parameters:
        n - degree of the Love number (must be less than getSize())
        m - order of the Love number (must be less than n)
        Returns:
        imaginary part of kn,m
      • getPlus

        public final double getPlus​(int n,
                                    int m)
        Get the real part of a nominal Love numbers.
        Parameters:
        n - degree of the Love number (must be less than getSize())
        m - order of the Love number (must be less than n)
        Returns:
        kn,m+