Package org.orekit.time
Class TimeStampedDoubleAndDerivativeHermiteInterpolator
- java.lang.Object
-
- org.orekit.time.AbstractTimeInterpolator<TimeStampedDoubleAndDerivative>
-
- org.orekit.time.TimeStampedDoubleAndDerivativeHermiteInterpolator
-
- All Implemented Interfaces:
TimeInterpolator<TimeStampedDoubleAndDerivative>
public class TimeStampedDoubleAndDerivativeHermiteInterpolator extends AbstractTimeInterpolator<TimeStampedDoubleAndDerivative>
Hermite interpolator of time stamped double value.- Author:
- Vincent Cucchietti, Luc Maisonobe
- See Also:
HermiteInterpolator
,TimeInterpolator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.orekit.time.AbstractTimeInterpolator
AbstractTimeInterpolator.InterpolationData
-
-
Field Summary
-
Fields inherited from class org.orekit.time.AbstractTimeInterpolator
DEFAULT_EXTRAPOLATION_THRESHOLD_SEC, DEFAULT_INTERPOLATION_POINTS
-
-
Constructor Summary
Constructors Constructor Description TimeStampedDoubleAndDerivativeHermiteInterpolator()
Constructor with : Default number of interpolation points ofDEFAULT_INTERPOLATION_POINTS
Default extrapolation threshold value (DEFAULT_EXTRAPOLATION_THRESHOLD_SEC
s) As this implementation of interpolation is polynomial, it should be used only with small number of interpolation points (about 10-20 points) in order to avoid Runge's phenomenon and numerical problems (including NaN appearing).TimeStampedDoubleAndDerivativeHermiteInterpolator(int interpolationPoints)
Constructor with default extrapolation threshold value (DEFAULT_EXTRAPOLATION_THRESHOLD_SEC
s).TimeStampedDoubleAndDerivativeHermiteInterpolator(int interpolationPoints, double extrapolationThreshold)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TimeStampedDoubleAndDerivative
interpolate(AbstractTimeInterpolator.InterpolationData interpolationData)
Interpolate instance from given interpolation data.-
Methods inherited from class org.orekit.time.AbstractTimeInterpolator
addOptionalSubInterpolatorIfDefined, checkInterpolatorCompatibilityWithSampleSize, getCentralDate, getCentralDate, getExtrapolationThreshold, getNbInterpolationPoints, getSubInterpolators, getTimeParameter, interpolate, interpolate
-
-
-
-
Constructor Detail
-
TimeStampedDoubleAndDerivativeHermiteInterpolator
public TimeStampedDoubleAndDerivativeHermiteInterpolator()
Constructor with :- Default number of interpolation points of
DEFAULT_INTERPOLATION_POINTS
- Default extrapolation threshold value (
DEFAULT_EXTRAPOLATION_THRESHOLD_SEC
s)
- Default number of interpolation points of
-
TimeStampedDoubleAndDerivativeHermiteInterpolator
public TimeStampedDoubleAndDerivativeHermiteInterpolator(int interpolationPoints)
Constructor with default extrapolation threshold value (DEFAULT_EXTRAPOLATION_THRESHOLD_SEC
s).As this implementation of interpolation is polynomial, it should be used only with small number of interpolation points (about 10-20 points) in order to avoid Runge's phenomenon and numerical problems (including NaN appearing).
- Parameters:
interpolationPoints
- number of interpolation points
-
TimeStampedDoubleAndDerivativeHermiteInterpolator
public TimeStampedDoubleAndDerivativeHermiteInterpolator(int interpolationPoints, double extrapolationThreshold)
Constructor.As this implementation of interpolation is polynomial, it should be used only with small number of interpolation points (about 10-20 points) in order to avoid Runge's phenomenon and numerical problems (including NaN appearing).
- Parameters:
interpolationPoints
- number of interpolation pointsextrapolationThreshold
- extrapolation threshold beyond which the propagation will fail
-
-
Method Detail
-
interpolate
protected TimeStampedDoubleAndDerivative interpolate(AbstractTimeInterpolator.InterpolationData interpolationData)
Interpolate instance from given interpolation data.- Specified by:
interpolate
in classAbstractTimeInterpolator<TimeStampedDoubleAndDerivative>
- Parameters:
interpolationData
- interpolation data- Returns:
- interpolated instance from given interpolation data.
-
-