public class FieldShortPeriodicsInterpolatedCoefficient<T extends RealFieldElement<T>> extends Object
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 method
value(org.orekit.time.FieldAbsoluteDate<T>)
.
Constructor and Description |
---|
FieldShortPeriodicsInterpolatedCoefficient(int interpolationPoints)
Simple constructor.
|
Modifier and Type | Method and 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.
|
public FieldShortPeriodicsInterpolatedCoefficient(int interpolationPoints)
interpolationPoints
- number of points used in the interpolationpublic T[] value(FieldAbsoluteDate<T> date)
date
- date at which the coefficient should be computedpublic void clearHistory()
public void addGridPoint(FieldAbsoluteDate<T> date, T[] value)
date
- abscissa of the pointvalue
- value of the elementCopyright © 2002-2020 CS GROUP. All rights reserved.