Class JacobiPolynomials
- java.lang.Object
-
- org.orekit.propagation.semianalytical.dsst.utilities.JacobiPolynomials
-
public class JacobiPolynomials extends Object
Provider of the Jacobi polynomials Plv,w.This class is used for
tesseral contribution
computation andDSSTThirdBody
.- Since:
- 6.1
- Author:
- Nicolas Bernard
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends CalculusFieldElement<T>>
FieldGradient<T>getValue(int l, int v, int w, FieldGradient<T> gamma)
Returns the value and derivatives of the Jacobi polynomial Plv,w evaluated at γ.static Gradient
getValue(int l, int v, int w, Gradient gamma)
Returns the value and derivatives of the Jacobi polynomial Plv,w evaluated at γ.static double[]
getValueAndDerivative(int l, int v, int w, double x)
Returns the value and derivatives of the Jacobi polynomial Plv,w evaluated at γ.
-
-
-
Method Detail
-
getValueAndDerivative
public static double[] getValueAndDerivative(int l, int v, int w, double x)
Returns the value and derivatives of the Jacobi polynomial Plv,w evaluated at γ.This method is guaranteed to be thread-safe
It was added to improve performances of DSST propagation with tesseral gravity field or third-body perturbations.
See issue 1098.
It appeared the "Gradient" version was degrading performances. This last was however kept for validation purposes.
- Parameters:
l
- degree of the polynomialv
- v valuew
- w valuex
- x value- Returns:
- value and derivatives of the Jacobi polynomial Plv,w(γ)
- Since:
- 11.3.3
-
getValue
public static Gradient getValue(int l, int v, int w, Gradient gamma)
Returns the value and derivatives of the Jacobi polynomial Plv,w evaluated at γ.This method is guaranteed to be thread-safe
It's not used in the code anymore, see
getValueAndDerivative(int, int, int, double)
, but was kept for validation purpose.- Parameters:
l
- degree of the polynomialv
- v valuew
- w valuegamma
- γ value- Returns:
- value and derivatives of the Jacobi polynomial Plv,w(γ)
- Since:
- 10.2
-
getValue
public static <T extends CalculusFieldElement<T>> FieldGradient<T> getValue(int l, int v, int w, FieldGradient<T> gamma)
Returns the value and derivatives of the Jacobi polynomial Plv,w evaluated at γ.This method is guaranteed to be thread-safe
- Type Parameters:
T
- the type of the field elements- Parameters:
l
- degree of the polynomialv
- v valuew
- w valuegamma
- γ value- Returns:
- value and derivatives of the Jacobi polynomial Plv,w(γ)
- Since:
- 10.2
-
-