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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FieldSpacecraftState<T>
getCurrentState()
Get the state at previous grid point date.FieldSpacecraftState<T>
getInterpolatedState(FieldAbsoluteDate<T> date)
Get the state at interpolated date.FieldSpacecraftState<T>
getPreviousState()
Get the state at previous grid point date.default TimeStampedFieldPVCoordinates<T>
getPVCoordinates(FieldAbsoluteDate<T> date, Frame frame)
Get theFieldPVCoordinates
of the body in the selected frame.boolean
isForward()
Check is integration direction is forward in date.FieldOrekitStepInterpolator<T>
restrictStep(FieldSpacecraftState<T> newPreviousState, FieldSpacecraftState<T> newCurrentState)
Create a new restricted version of the instance.-
Methods inherited from interface org.orekit.utils.FieldPVCoordinatesProvider
getPosition
-
-
-
-
Method Detail
-
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
FieldSpacecraftState<T> getInterpolatedState(FieldAbsoluteDate<T> date)
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:
getPreviousState()
,getCurrentState()
-
getPVCoordinates
default TimeStampedFieldPVCoordinates<T> getPVCoordinates(FieldAbsoluteDate<T> date, Frame frame)
Get theFieldPVCoordinates
of the body in the selected frame.- Specified by:
getPVCoordinates
in 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
-
-