Class FieldShortPeriodicsInterpolatedCoefficient<T extends CalculusFieldElement<T>>
- java.lang.Object
-
- org.orekit.propagation.semianalytical.dsst.utilities.FieldShortPeriodicsInterpolatedCoefficient<T>
-
- Type Parameters:
T
- type of the field elements
public class FieldShortPeriodicsInterpolatedCoefficient<T extends CalculusFieldElement<T>> extends Object
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.FieldAbsoluteDate<T>, T[])
and gives an interpolated result through the methodvalue(org.orekit.time.FieldAbsoluteDate<T>)
.- Author:
- Nicolas Bernard
-
-
Constructor Summary
Constructors Constructor Description FieldShortPeriodicsInterpolatedCoefficient(int interpolationPoints)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addGridPoint(FieldAbsoluteDate<T> date, T[] value)
Add a point to the interpolation grid.void
clearHistory()
Clear the recorded values from the interpolation grid.T[]
value(FieldAbsoluteDate<T> date)
Compute the value of the coefficient.
-
-
-
Method Detail
-
value
public T[] value(FieldAbsoluteDate<T> date)
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
public void addGridPoint(FieldAbsoluteDate<T> date, T[] value)
Add a point to the interpolation grid.- Parameters:
date
- abscissa of the pointvalue
- value of the element
-
-