The various ODE integrators provide objects implementing this interface to the step handlers. These objects are often custom objects tightly bound to the integrator internal algorithms. The handlers can use these objects to retrieve the state vector at intermediate times between the previous and the current grid points (this feature is often called dense output).
org.apache.commons.math3.ode.FirstOrderFieldIntegrator , FieldStepHandler
| Modifier and Type | Method and Description |
|---|---|
| public FieldODEStateAndDerivative | |
| public FieldODEStateAndDerivative | Returns: state at interpolated timetime of the interpolated point time)Get the state at interpolated time. |
| public FieldODEStateAndDerivative | Returns: state at previous grid point timeGet the state at previous grid point time. |
| public boolean | Returns: true if the integration variable (time) increases during integrationCheck if the natural integration direction is forward. |
| getCurrentState | back to summary |
|---|---|
| public FieldODEStateAndDerivative Get the state at current grid point time.
| |
| getInterpolatedState | back to summary |
|---|---|
| public FieldODEStateAndDerivative Get the state at interpolated time. Setting the time outside of the current step is allowed, but should be used with care since the accuracy of the interpolator will probably be very poor far from this step. This allowance has been added to simplify implementation of search algorithms near the step endpoints.
| |
| getPreviousState | back to summary |
|---|---|
| public FieldODEStateAndDerivative Get the state at previous grid point time.
| |
| isForward | back to summary |
|---|---|
| public boolean isForward() Check if the natural integration direction is forward. This method provides the integration direction as specified by the integrator itself, it avoid some nasty problems in degenerated cases like null steps due to cancellation at step initialization, step control or discrete events triggering.
| |