The ODE integrators now support several step handlers at once, instead of just one.
This is more consistent with event handlers management. The setStepHandler method has therefore been replaced by addStephandler, the getStepHandler method has been replaced by getStepHandlers which returns a Collection and a clearStepHandlers method has been added. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@674817 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
08dae2254b
commit
086a0ede1e
|
@ -27,7 +27,7 @@ In addition to computing the evolution of the state vector at some grid points,
|
|||
ODE integrators also build up interpolation models of this evolution <em>inside</em> the
|
||||
last computed step. If users are interested in these interpolators, they can register a
|
||||
{@link org.apache.commons.math.ode.sampling.StepHandler StepHandler} instance using the
|
||||
{@link org.apache.commons.math.ode.FirstOrderIntegrator#setStepHandler setStepHandler}
|
||||
{@link org.apache.commons.math.ode.FirstOrderIntegrator#addStepHandler addStepHandler}
|
||||
method which is supported by all integrators. The integrator will call this instance
|
||||
at the end of each accepted step and provide it the interpolator. The user can do
|
||||
whatever he wants with this interpolator, which computes both the state and its
|
||||
|
|
Loading…
Reference in New Issue