Class FieldClockOffsetHermiteInterpolator<T extends CalculusFieldElement<T>>
- Type Parameters:
T- type of the field elements
- All Implemented Interfaces:
FieldTimeInterpolator<FieldClockOffset<T>,T>
- Since:
- 12.1
- Author:
- Luc Maisonobe
- 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
ConstructorsConstructorDescriptionFieldClockOffsetHermiteInterpolator(int interpolationPoints) Constructor with default extrapolation threshold value (DEFAULT_EXTRAPOLATION_THRESHOLD_SECs).FieldClockOffsetHermiteInterpolator(int interpolationPoints, double extrapolationThreshold) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected FieldClockOffset<T> interpolate(AbstractFieldTimeInterpolator<FieldClockOffset<T>, T>.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
-
FieldClockOffsetHermiteInterpolator
public FieldClockOffsetHermiteInterpolator(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).
If the number of interpolation points or derivatives availability is not sufficient, the rate and acceleration of interpolated offset will be silently set to 0 (i.e. model will be constant or linear only).
- Parameters:
interpolationPoints- number of interpolation points
-
FieldClockOffsetHermiteInterpolator
public FieldClockOffsetHermiteInterpolator(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).
If the number of interpolation points or derivatives availability is not sufficient, the rate and acceleration of interpolated offset will be silently set to 0 (i.e. model will be constant or linear only).
- Parameters:
interpolationPoints- number of interpolation pointsextrapolationThreshold- extrapolation threshold beyond which the propagation will fail
-
-
Method Details
-
interpolate
protected FieldClockOffset<T> interpolate(AbstractFieldTimeInterpolator<FieldClockOffset<T>, T>.InterpolationData interpolationData) Interpolate instance from given interpolation data.- Specified by:
interpolatein classAbstractFieldTimeInterpolator<FieldClockOffset<T extends CalculusFieldElement<T>>,T extends CalculusFieldElement<T>> - Parameters:
interpolationData- interpolation data- Returns:
- interpolated instance from given interpolation data.
-