Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.2
-
None
-
None
-
all
Description
When an EventHandler.eventOccurred() method returns STOP to interrupt integration, it is difficult to retrieve the exact stop time in the function that called integrate. The only way is to set up a step handler which monitors specially the last step and store the current time from the interpolator.
This is cumbersome.
A better way is to set the return value of integrate to this stop time (the state at interrupt time is already copied properly in the y[] parameter array).