This interpolator computes dense output around the current point. The interpolation equation is based on Taylor series formulas.
AdamsBashforthFieldIntegrator, AdamsMoultonFieldIntegrator
| Modifier and Type | Field and Description |
|---|---|
| private final Array2DRowFieldMatrix | nordsieck
Nordsieck vector. |
| private final FieldODEStateAndDerivative | reference
Reference state. |
| private final T[] | scaled
First scaled derivative. |
| private T | scalingH
Step size used in the first scaled derivative and Nordsieck vector. |
| Access | Constructor and Description |
|---|---|
| pack-priv | AdamsFieldStepInterpolator(final T
step size used in the scaled and Nordsieck arrays stepSize, final FieldODEStateAndDerivative<T> reference state from which Taylor expansion are estimated reference, final T[] first scaled derivative scaled, final Array2DRowFieldMatrix<T> Nordsieck vector nordsieck, final boolean integration direction indicator isForward, final FieldODEStateAndDerivative<T> start of the global step globalPreviousState, final FieldODEStateAndDerivative<T> end of the global step globalCurrentState, final FieldEquationsMapper<T> mapper for ODE equations primary and secondary components equationsMapper)Simple constructor. |
| private | AdamsFieldStepInterpolator(final T
step size used in the scaled and Nordsieck arrays stepSize, final FieldODEStateAndDerivative<T> reference state from which Taylor expansion are estimated reference, final T[] first scaled derivative scaled, final Array2DRowFieldMatrix<T> Nordsieck vector nordsieck, final boolean integration direction indicator isForward, final FieldODEStateAndDerivative<T> start of the global step globalPreviousState, final FieldODEStateAndDerivative<T> end of the global step globalCurrentState, final FieldODEStateAndDerivative<T> start of the restricted step softPreviousState, final FieldODEStateAndDerivative<T> end of the restricted step softCurrentState, final FieldEquationsMapper<T> mapper for ODE equations primary and secondary components equationsMapper)Simple constructor. |
| Modifier and Type | Method and Description |
|---|---|
| protected FieldODEStateAndDerivative | computeInterpolatedStateAndDerivatives(final FieldEquationsMapper<T>
mapper for ODE equations primary and secondary components equationsMapper, final T interpolation time time, final T normalized interpolation abscissa within the step
(theta is zero at the previous time step and one at the current time step) theta, final T time gap between the previous time and the interpolated time thetaH, final T time gap between the interpolated time and
the current time oneMinusThetaH)Implements abstract org. Compute the state and derivatives at the interpolated time. |
| protected AdamsFieldStepInterpolator | Returns: a new instanceintegration direction indicator newForward, FieldODEStateAndDerivative<T> start of the global step newGlobalPreviousState, FieldODEStateAndDerivative<T> end of the global step newGlobalCurrentState, FieldODEStateAndDerivative<T> start of the restricted step newSoftPreviousState, FieldODEStateAndDerivative<T> end of the restricted step newSoftCurrentState, FieldEquationsMapper<T> equations mapper for the all equations newMapper)Implements abstract org. Create a new instance. |
| public static < the type of the field elements S extends RealFieldElement | Returns: estimated statereference state reference, final S time at which state must be estimated time, final S step size used in the scaled and Nordsieck arrays stepSize, final S[] first scaled derivative scaled, final Array2DRowFieldMatrix<S> Nordsieck vector nordsieck)Estimate state by applying Taylor formula. |
| nordsieck | back to summary |
|---|---|
| private final Array2DRowFieldMatrix<T> nordsieck Nordsieck vector. | |
| reference | back to summary |
|---|---|
| private final FieldODEStateAndDerivative<T> reference Reference state. Sometimes, the reference state is the same as globalPreviousState, sometimes it is the same as globalCurrentState, so we use a separate field to avoid any confusion. | |
| scaled | back to summary |
|---|---|
| private final T[] scaled First scaled derivative. | |
| scalingH | back to summary |
|---|---|
| private T scalingH Step size used in the first scaled derivative and Nordsieck vector. | |
| AdamsFieldStepInterpolator | back to summary |
|---|---|
| pack-priv AdamsFieldStepInterpolator(final T stepSize, final FieldODEStateAndDerivative<T> reference, final T[] scaled, final Array2DRowFieldMatrix<T> nordsieck, final boolean isForward, final FieldODEStateAndDerivative<T> globalPreviousState, final FieldODEStateAndDerivative<T> globalCurrentState, final FieldEquationsMapper<T> equationsMapper) Simple constructor.
| |
| AdamsFieldStepInterpolator | back to summary |
|---|---|
| private AdamsFieldStepInterpolator(final T stepSize, final FieldODEStateAndDerivative<T> reference, final T[] scaled, final Array2DRowFieldMatrix<T> nordsieck, final boolean isForward, final FieldODEStateAndDerivative<T> globalPreviousState, final FieldODEStateAndDerivative<T> globalCurrentState, final FieldODEStateAndDerivative<T> softPreviousState, final FieldODEStateAndDerivative<T> softCurrentState, final FieldEquationsMapper<T> equationsMapper) Simple constructor.
| |
| computeInterpolatedStateAndDerivatives | back to summary |
|---|---|
| protected FieldODEStateAndDerivative Implements abstract org. Compute the state and derivatives at the interpolated time. This is the main processing method that should be implemented by the derived classes to perform the interpolation.
| |
| create | back to summary |
|---|---|
| protected AdamsFieldStepInterpolator Implements abstract org. Create a new instance.
| |
| taylor | back to summary |
|---|---|
| public static <S extends RealFieldElement Estimate state by applying Taylor formula.
| |