Class CoefficientsFactory
- java.lang.Object
-
- org.orekit.propagation.semianalytical.dsst.utilities.CoefficientsFactory
-
public class CoefficientsFactory extends Object
This class is designed to provide coefficient from the DSST theory.- Author:
- Romain Di Costanzo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoefficientsFactory.NSKey
Key formed by two integer values.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double[][]
computeGsHs(double k, double h, double alpha, double beta, int order)
Compute recursively Gs and Hs polynomials from equation 3.1-(5).static double[][]
computeQns(double gamma, int nMax, int sMax)
Compute the Qn,s coefficients evaluated at γ from the recurrence formula 2.8.3-(2).static TreeMap<CoefficientsFactory.NSKey,Double>
computeVns(int order)
Compute the Vn,s coefficients from 2.8.2-(1)(2).static double
getVmns(int m, int n, int s)
Get the Vn,sm coefficient from Vn,s.
-
-
-
Method Detail
-
computeQns
public static double[][] computeQns(double gamma, int nMax, int sMax)
Compute the Qn,s coefficients evaluated at γ from the recurrence formula 2.8.3-(2).Qn,s coefficients are computed for n = 0 to nMax and s = 0 to sMax + 1 in order to also get the derivative dQn,s/dγ = Q(n, s + 1)
- Parameters:
gamma
- γ anglenMax
- n max valuesMax
- s max value- Returns:
- Qn,s coefficients array
-
computeGsHs
public static double[][] computeGsHs(double k, double h, double alpha, double beta, int order)
Compute recursively Gs and Hs polynomials from equation 3.1-(5).- Parameters:
k
- x-component of the eccentricity vectorh
- y-component of the eccentricity vectoralpha
- 1st direction cosinebeta
- 2nd direction cosineorder
- development order- Returns:
- Array of Gs and Hs polynomials for s from 0 to order.
The 1st column contains the Gs values. The 2nd column contains the Hs values.
-
computeVns
public static TreeMap<CoefficientsFactory.NSKey,Double> computeVns(int order)
Compute the Vn,s coefficients from 2.8.2-(1)(2).- Parameters:
order
- Order of the computation. Computation will be done from 0 to order -1- Returns:
- Map of the Vn, s coefficients
-
getVmns
public static double getVmns(int m, int n, int s)
Get the Vn,sm coefficient from Vn,s.
See § 2.8.2 in Danielson paper.- Parameters:
m
- mn
- ns
- s- Returns:
- The Vn, s m coefficient
-
-