Package org.orekit.propagation.sampling
Interface FieldOrekitStepInterpolator<T extends CalculusFieldElement<T>>
- Type Parameters:
T- type of the field elements
- All Superinterfaces:
FieldPVCoordinatesProvider<T>
public interface FieldOrekitStepInterpolator<T extends CalculusFieldElement<T>>
extends FieldPVCoordinatesProvider<T>
This interface is a space-dynamics aware step interpolator.
It mirrors the StepInterpolator interface from commons-math but
provides a space-dynamics interface to the methods.
- Author:
- Luc Maisonobe
-
Method Summary
Modifier and TypeMethodDescriptionGet the state at previous grid point date.Get the state at interpolated date.Get the state at previous grid point date.default TimeStampedFieldPVCoordinates<T> getPVCoordinates(FieldAbsoluteDate<T> date, Frame frame) Get theFieldPVCoordinatesof the body in the selected frame.booleanCheck is integration direction is forward in date.restrictStep(FieldSpacecraftState<T> newPreviousState, FieldSpacecraftState<T> newCurrentState) Create a new restricted version of the instance.Methods inherited from interface org.orekit.utils.FieldPVCoordinatesProvider
getPosition, getVelocity
-
Method Details
-
getPreviousState
FieldSpacecraftState<T> getPreviousState()Get the state at previous grid point date.- Returns:
- state at previous grid point date
-
getCurrentState
FieldSpacecraftState<T> getCurrentState()Get the state at previous grid point date.- Returns:
- state at previous grid point date
-
getInterpolatedState
Get the state at interpolated date.- Parameters:
date- date of the interpolated state- Returns:
- state at interpolated date the date
-
isForward
boolean isForward()Check is integration direction is forward in date.- Returns:
- true if integration is forward in date
-
restrictStep
FieldOrekitStepInterpolator<T> restrictStep(FieldSpacecraftState<T> newPreviousState, FieldSpacecraftState<T> newCurrentState) Create a new restricted version of the instance.The instance is not changed at all.
- Parameters:
newPreviousState- start of the restricted stepnewCurrentState- end of the restricted step- Returns:
- restricted version of the instance
- Since:
- 11.0
- See Also:
-
getPVCoordinates
Get theFieldPVCoordinatesof the body in the selected frame.- Specified by:
getPVCoordinatesin interfaceFieldPVCoordinatesProvider<T extends CalculusFieldElement<T>>- Parameters:
date- current dateframe- the frame where to define the position- Returns:
- time-stamped position/velocity of the body (m and m/s)
- Since:
- 12.0
-