Class ShortPeriodicsInterpolatedCoefficient
java.lang.Object
org.orekit.propagation.semianalytical.dsst.utilities.ShortPeriodicsInterpolatedCoefficient
Interpolated short periodics coefficients.
Representation of a coefficient that need to be interpolated over time.
The short periodics coefficients can be interpolated for faster computation.
This class stores computed values of the coefficients through the method
addGridPoint(org.orekit.time.AbsoluteDate, double[]) and gives an interpolated result through the method
value(org.orekit.time.AbsoluteDate).
- Author:
- Nicolas Bernard
-
Constructor Summary
ConstructorsConstructorDescriptionShortPeriodicsInterpolatedCoefficient(int interpolationPoints) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGridPoint(AbsoluteDate date, double[] value) Add a point to the interpolation grid.voidClear the recorded values from the interpolation grid.double[]value(AbsoluteDate date) Compute the value of the coefficient.
-
Constructor Details
-
ShortPeriodicsInterpolatedCoefficient
public ShortPeriodicsInterpolatedCoefficient(int interpolationPoints) Simple constructor.- Parameters:
interpolationPoints- number of points used in the interpolation
-
-
Method Details
-
value
Compute the value of the coefficient.- Parameters:
date- date at which the coefficient should be computed- Returns:
- value of the coefficient
-
clearHistory
public void clearHistory()Clear the recorded values from the interpolation grid. -
addGridPoint
Add a point to the interpolation grid.- Parameters:
date- abscissa of the pointvalue- value of the element
-