public interface FixedStepHandler
This interface should be implemented by anyone who is interested
in getting the solution of an ordinary differential equation at
fixed time steps. Objects implementing this interface should be
wrapped within an instance of StepNormalizer that itself
is used as the general StepHandler by the integrator. The
StepNormalizer object is called according to the integrator
internal algorithms and it calls objects implementing this
interface as necessary at fixed time steps.
StepHandler,
StepNormalizer| Modifier and Type | Method and Description |
|---|---|
void |
handleStep(double t,
double[] y,
boolean isLast)
Handle the last accepted step
|
void handleStep(double t,
double[] y,
boolean isLast)
t - time of the current stepy - state vector at t. For efficiency purposes, the StepNormalizer class reuse the same array on each call, so if
the instance wants to keep it across all calls (for example to
provide at the end of the integration a complete array of all
steps), it should build a local copy store this copy.isLast - true if the step is the last oneCopyright © 2001-2007 Luc Maisonobe. All Rights Reserved.