Class HansenUtilities
- java.lang.Object
-
- org.orekit.propagation.semianalytical.dsst.utilities.hansen.HansenUtilities
-
public class HansenUtilities extends Object
Utilities class.- Author:
- Lucian Barbulescu
-
-
Field Summary
Fields Modifier and Type Field Description static PolynomialFunction
ONE
1 represented as a polynomial.static PolynomialFunction
ZERO
0 represented as a polynomial.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PolynomialFunctionMatrix
buildIdentityMatrix2()
Build the identity matrix of order 2.static PolynomialFunctionMatrix
buildIdentityMatrix4()
Build the identity matrix of order 4.static PolynomialFunctionMatrix
buildZeroMatrix2()
Build the empty matrix of order 2.static PolynomialFunctionMatrix
buildZeroMatrix4()
Build the empty matrix of order 4.static void
generateTesseralPolynomials(int n0, int nMin, int offset, int slice, int j, int s, PolynomialFunction[][] mpvec, PolynomialFunction[][] mpvecDeriv)
Generate the polynomials needed in the linear transformation.static void
generateThirdBodyPolynomials(int n0, int nMax, int slice, int s, PolynomialFunction[][] mpvec, PolynomialFunction[][] mpvecDeriv)
Generate the polynomials needed in the linear transformation.static void
generateZonalPolynomials(int n0, int nMin, int offset, int slice, int s, PolynomialFunction[][] mpvec, PolynomialFunction[][] mpvecDeriv)
Generate the polynomials needed in the linear transformation.
-
-
-
Field Detail
-
ONE
public static final PolynomialFunction ONE
1 represented as a polynomial.
-
ZERO
public static final PolynomialFunction ZERO
0 represented as a polynomial.
-
-
Method Detail
-
buildIdentityMatrix2
public static PolynomialFunctionMatrix buildIdentityMatrix2()
Build the identity matrix of order 2./ 1 0 \ I₂ = | | \ 0 1 /
- Returns:
- the identity matrix of order 2
-
buildZeroMatrix2
public static PolynomialFunctionMatrix buildZeroMatrix2()
Build the empty matrix of order 2./ 0 0 \ E₂ = | | \ 0 0 /
- Returns:
- the identity matrix of order 2
-
buildIdentityMatrix4
public static PolynomialFunctionMatrix buildIdentityMatrix4()
Build the identity matrix of order 4./ 1 0 0 0 \ | | | 0 1 0 0 | I₄ = | | | 0 0 1 0 | | | \ 0 0 0 1 /
- Returns:
- the identity matrix of order 4
-
buildZeroMatrix4
public static PolynomialFunctionMatrix buildZeroMatrix4()
Build the empty matrix of order 4./ 0 0 0 0 \ | | | 0 0 0 0 | E₄ = | | | 0 0 0 0 | | | \ 0 0 0 0 /
- Returns:
- the identity matrix of order 4
-
generateZonalPolynomials
public static void generateZonalPolynomials(int n0, int nMin, int offset, int slice, int s, PolynomialFunction[][] mpvec, PolynomialFunction[][] mpvecDeriv)
Generate the polynomials needed in the linear transformation.- Parameters:
n0
- the index of the initial condition, Petre's papernMin
- rhe minimum value for the orderoffset
- offset used to identify the polynomial that corresponds to a negative value of n in the internal array that starts at 0slice
- number of coefficients that will be computed with a set of rootss
- the s coefficientmpvec
- array to store the first vector of polynomials associated to Hansen coefficients and derivatives.mpvecDeriv
- array to store the second vector of polynomials associated only to derivatives.See Petre's paper
-
generateTesseralPolynomials
public static void generateTesseralPolynomials(int n0, int nMin, int offset, int slice, int j, int s, PolynomialFunction[][] mpvec, PolynomialFunction[][] mpvecDeriv)
Generate the polynomials needed in the linear transformation.- Parameters:
n0
- the index of the initial condition, Petre's papernMin
- rhe minimum value for the orderoffset
- offset used to identify the polynomial that corresponds to a negative value of n in the internal array that starts at 0slice
- number of coefficients that will be computed with a set of rootsj
- the j coefficients
- the s coefficientmpvec
- array to store the first vector of polynomials associated to Hansen coefficients and derivatives.mpvecDeriv
- array to store the second vector of polynomials associated only to derivatives.
-
generateThirdBodyPolynomials
public static void generateThirdBodyPolynomials(int n0, int nMax, int slice, int s, PolynomialFunction[][] mpvec, PolynomialFunction[][] mpvecDeriv)
Generate the polynomials needed in the linear transformation.- Parameters:
n0
- the index of the initial condition, Petre's papernMax
- the maximum order of n indexesslice
- number of coefficients that will be computed with a set of rootss
- the s coefficientmpvec
- array to store the first vector of polynomials associated to Hansen coefficients and derivatives.mpvecDeriv
- array to store the second vector of polynomials associated only to derivatives.See Petre's paper
-
-