Class JacobiPolynomials
java.lang.Object
org.orekit.propagation.semianalytical.dsst.utilities.JacobiPolynomials
Provider of the Jacobi polynomials Plv,w.
This class is used for tesseral contribution computation and DSSTThirdBody.
- Since:
- 6.1
- Author:
- Nicolas Bernard
-
Method Summary
Modifier and TypeMethodDescriptionstatic <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 GradientReturns 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 Details
-
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
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
-