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:
-
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
ConstructorsConstructorDescriptionConstructor with : Default number of interpolation points ofDEFAULT_INTERPOLATION_POINTSDefault extrapolation threshold value (DEFAULT_EXTRAPOLATION_THRESHOLD_SECs) 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_SECs) 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
Modifier and TypeMethodDescriptionprotected TimeStampedField<KK> interpolate(AbstractFieldTimeInterpolator<TimeStampedField<KK>, KK>.InterpolationData interpolationData) Interpolate instance from given interpolation data.Methods inherited from class org.orekit.time.AbstractFieldTimeInterpolator
addOptionalSubInterpolatorIfDefined, checkInterpolatorCompatibilityWithSampleSize, getCentralDate, getCentralDate, getExtrapolationThreshold, getInternalNbInterpolationPoints, getNbInterpolationPoints, getSubInterpolators, getTimeParameter, interpolate, interpolateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.time.FieldTimeInterpolator
interpolate, interpolate
-
Constructor Details
-
TimeStampedFieldHermiteInterpolator
public TimeStampedFieldHermiteInterpolator()Constructor with :- Default number of interpolation points of
DEFAULT_INTERPOLATION_POINTS - Default extrapolation threshold value (
DEFAULT_EXTRAPOLATION_THRESHOLD_SECs)
- Default number of interpolation points of
-
TimeStampedFieldHermiteInterpolator
public TimeStampedFieldHermiteInterpolator(int interpolationPoints) Constructor with :- Default extrapolation threshold value (
DEFAULT_EXTRAPOLATION_THRESHOLD_SECs)
- 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 Details
-
interpolate
protected TimeStampedField<KK> interpolate(AbstractFieldTimeInterpolator<TimeStampedField<KK>, KK>.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:
interpolatein classAbstractFieldTimeInterpolator<TimeStampedField<KK extends CalculusFieldElement<KK>>,KK extends CalculusFieldElement<KK>> - Parameters:
interpolationData- interpolation data- Returns:
- interpolated instance from given interpolation data.
-