Package org.orekit.utils
Class LoveNumbers
java.lang.Object
org.orekit.utils.LoveNumbers
- All Implemented Interfaces:
Serializable
Container for Love numbers.
- Since:
- 6.1
- Author:
- Luc Maisonobe
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLoveNumbers(double[][] real, double[][] imaginary, double[][] plus) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal doublegetImaginary(int n, int m) Get the imaginary part of a nominal Love numbers.final doublegetPlus(int n, int m) Get the real part of a nominal Love numbers.final doublegetReal(int n, int m) Get the real part of a nominal Love numbers.intgetSize()Get the size of the arrays.
-
Constructor Details
-
LoveNumbers
public LoveNumbers(double[][] real, double[][] imaginary, double[][] plus) Simple constructor.- Parameters:
real- real part of the nominal Love numbersimaginary- imaginary part of the nominal Love numbersplus- time-dependent part of the Love numbers
-
-
Method Details
-
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+
-