Class HansenUtilities
java.lang.Object
org.orekit.propagation.semianalytical.dsst.utilities.hansen.HansenUtilities
Utilities class.
- Author:
- Lucian Barbulescu
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PolynomialFunction1 represented as a polynomial.static final PolynomialFunction0 represented as a polynomial. -
Method Summary
Modifier and TypeMethodDescriptionstatic PolynomialFunctionMatrixBuild the identity matrix of order 2.static PolynomialFunctionMatrixBuild the identity matrix of order 4.static PolynomialFunctionMatrixBuild the empty matrix of order 2.static PolynomialFunctionMatrixBuild the empty matrix of order 4.static voidgenerateTesseralPolynomials(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 voidgenerateThirdBodyPolynomials(int n0, int nMax, int slice, int s, PolynomialFunction[][] mpvec, PolynomialFunction[][] mpvecDeriv) Generate the polynomials needed in the linear transformation.static voidgenerateZonalPolynomials(int n0, int nMin, int offset, int slice, int s, PolynomialFunction[][] mpvec, PolynomialFunction[][] mpvecDeriv) Generate the polynomials needed in the linear transformation.
-
Field Details
-
ONE
1 represented as a polynomial. -
ZERO
0 represented as a polynomial.
-
-
Method Details
-
buildIdentityMatrix2
Build the identity matrix of order 2./ 1 0 \ I₂ = | | \ 0 1 /- Returns:
- the identity matrix of order 2
-
buildZeroMatrix2
Build the empty matrix of order 2./ 0 0 \ E₂ = | | \ 0 0 /- Returns:
- the identity matrix of order 2
-
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
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
-