T - the type of the field elementsclass GillFieldStepInterpolator<T extends RealFieldElement<T>> extends RungeKuttaFieldStepInterpolator<T>
This interpolator allows to compute dense output inside the last step computed. The interpolation equation is consistent with the integration scheme :
GillFieldIntegrator| Modifier and Type | Field and Description |
|---|---|
private T |
one_minus_inv_sqrt_2
First Gill coefficient.
|
private T |
one_plus_inv_sqrt_2
Second Gill coefficient.
|
| Constructor and Description |
|---|
GillFieldStepInterpolator(Field<T> field,
boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldODEStateAndDerivative<T> softPreviousState,
FieldODEStateAndDerivative<T> softCurrentState,
FieldEquationsMapper<T> mapper)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected FieldODEStateAndDerivative<T> |
computeInterpolatedStateAndDerivatives(FieldEquationsMapper<T> mapper,
T time,
T theta,
T thetaH,
T oneMinusThetaH)
Compute the state and derivatives at the interpolated time.
|
protected GillFieldStepInterpolator<T> |
create(Field<T> newField,
boolean newForward,
T[][] newYDotK,
FieldODEStateAndDerivative<T> newGlobalPreviousState,
FieldODEStateAndDerivative<T> newGlobalCurrentState,
FieldODEStateAndDerivative<T> newSoftPreviousState,
FieldODEStateAndDerivative<T> newSoftCurrentState,
FieldEquationsMapper<T> newMapper)
Create a new instance.
|
create, currentStateLinearCombination, derivativeLinearCombination, previousStateLinearCombinationgetCurrentState, getGlobalCurrentState, getGlobalPreviousState, getInterpolatedState, getPreviousState, isForward, restrictStepprivate final T extends RealFieldElement<T> one_minus_inv_sqrt_2
private final T extends RealFieldElement<T> one_plus_inv_sqrt_2
GillFieldStepInterpolator(Field<T> field, boolean forward, T[][] yDotK, FieldODEStateAndDerivative<T> globalPreviousState, FieldODEStateAndDerivative<T> globalCurrentState, FieldODEStateAndDerivative<T> softPreviousState, FieldODEStateAndDerivative<T> softCurrentState, FieldEquationsMapper<T> mapper)
field - field to which the time and state vector elements belongforward - integration direction indicatoryDotK - slopes at the intermediate pointsglobalPreviousState - start of the global stepglobalCurrentState - end of the global stepsoftPreviousState - start of the restricted stepsoftCurrentState - end of the restricted stepmapper - equations mapper for the all equationsprotected GillFieldStepInterpolator<T> create(Field<T> newField, boolean newForward, T[][] newYDotK, FieldODEStateAndDerivative<T> newGlobalPreviousState, FieldODEStateAndDerivative<T> newGlobalCurrentState, FieldODEStateAndDerivative<T> newSoftPreviousState, FieldODEStateAndDerivative<T> newSoftCurrentState, FieldEquationsMapper<T> newMapper)
create in class RungeKuttaFieldStepInterpolator<T extends RealFieldElement<T>>newField - field to which the time and state vector elements belongnewForward - integration direction indicatornewYDotK - slopes at the intermediate pointsnewGlobalPreviousState - start of the global stepnewGlobalCurrentState - end of the global stepnewSoftPreviousState - start of the restricted stepnewSoftCurrentState - end of the restricted stepnewMapper - equations mapper for the all equationsprotected FieldODEStateAndDerivative<T> computeInterpolatedStateAndDerivatives(FieldEquationsMapper<T> mapper, T time, T theta, T thetaH, T oneMinusThetaH)
computeInterpolatedStateAndDerivatives in class AbstractFieldStepInterpolator<T extends RealFieldElement<T>>mapper - mapper for ODE equations primary and secondary componentstime - interpolation timetheta - normalized interpolation abscissa within the step
(theta is zero at the previous time step and one at the current time step)thetaH - time gap between the previous time and the interpolated timeoneMinusThetaH - time gap between the interpolated time and
the current timeCopyright (c) 2003-2017 Apache Software Foundation