Package org.orekit.time
Class TimeStampedFieldHermiteInterpolator<KK extends CalculusFieldElement<KK>>
- java.lang.Object
-
- org.orekit.time.AbstractFieldTimeInterpolator<TimeStampedField<KK>,KK>
-
- org.orekit.time.TimeStampedFieldHermiteInterpolator<KK>
-
- Type Parameters:
KK
- type of the field elements
- All Implemented Interfaces:
FieldTimeInterpolator<TimeStampedField<KK>,KK>
public class TimeStampedFieldHermiteInterpolator<KK extends CalculusFieldElement<KK>> extends AbstractFieldTimeInterpolator<TimeStampedField<KK>,KK>
Hermite interpolator of time stamped field value.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).
- Author:
- Vincent Cucchietti
- See Also:
FieldHermiteInterpolator
,FieldTimeInterpolator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.orekit.time.AbstractFieldTimeInterpolator
AbstractFieldTimeInterpolator.InterpolationData
-
-
Field Summary
-
Fields inherited from class org.orekit.time.AbstractFieldTimeInterpolator
DEFAULT_EXTRAPOLATION_THRESHOLD_SEC, DEFAULT_INTERPOLATION_POINTS
-
-
Constructor Summary
Constructors Constructor Description TimeStampedFieldHermiteInterpolator()
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).TimeStampedFieldHermiteInterpolator(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).TimeStampedFieldHermiteInterpolator(int interpolationPoints, double extrapolationThreshold)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TimeStampedField<KK>
interpolate(AbstractFieldTimeInterpolator.InterpolationData interpolationData)
Interpolate instance from given interpolation data.-
Methods inherited from class org.orekit.time.AbstractFieldTimeInterpolator
addOptionalSubInterpolatorIfDefined, checkInterpolatorCompatibilityWithSampleSize, getCentralDate, getCentralDate, getExtrapolationThreshold, getNbInterpolationPoints, getSubInterpolators, getTimeParameter, interpolate, interpolate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.time.FieldTimeInterpolator
interpolate, interpolate
-
-
-
-
Constructor Detail
-
TimeStampedFieldHermiteInterpolator
public TimeStampedFieldHermiteInterpolator()
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
-
TimeStampedFieldHermiteInterpolator
public TimeStampedFieldHermiteInterpolator(int interpolationPoints)
Constructor with :- Default extrapolation threshold value (
DEFAULT_EXTRAPOLATION_THRESHOLD_SEC
s)
- Parameters:
interpolationPoints
- number of interpolation points
- Default extrapolation threshold value (
-
TimeStampedFieldHermiteInterpolator
public TimeStampedFieldHermiteInterpolator(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 TimeStampedField<KK> interpolate(AbstractFieldTimeInterpolator.InterpolationData interpolationData)
Interpolate instance from given interpolation data.As this implementation of interpolation is polynomial, it should be used only with small samples (about 10-20 points) in order to avoid Runge's phenomenon and numerical problems (including NaN appearing).
- Specified by:
interpolate
in classAbstractFieldTimeInterpolator<TimeStampedField<KK extends CalculusFieldElement<KK>>,KK extends CalculusFieldElement<KK>>
- Parameters:
interpolationData
- interpolation data- Returns:
- interpolated instance from given interpolation data.
-
-