Package org.orekit.utils
Class LoveNumbers
- java.lang.Object
-
- org.orekit.utils.LoveNumbers
-
- All Implemented Interfaces:
Serializable
public class LoveNumbers extends Object implements Serializable
Container for Love numbers.- Since:
- 6.1
- Author:
- Luc Maisonobe
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoveNumbers(double[][] real, double[][] imaginary, double[][] plus)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getImaginary(int n, int m)
Get the imaginary part of a nominal Love numbers.double
getPlus(int n, int m)
Get the real part of a nominal Love numbers.double
getReal(int n, int m)
Get the real part of a nominal Love numbers.int
getSize()
Get the size of the arrays.
-
-
-
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 thangetSize()
)m
- order of the Love number (must be less thann
)- 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 thangetSize()
)m
- order of the Love number (must be less thann
)- 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 thangetSize()
)m
- order of the Love number (must be less thann
)- Returns:
- kn,m+
-
-