Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1
-
None
-
None
Description
The EventHandler interface does not provide any way to initialize the step handler at integration start.
The StepHandler interface does have this feature, but it uses a confusing name (reset) which can easily be confused with the resetState method of the EventHandler interface despite it has nothing to do with events based resets.
Both interfaces being often used together, it would be nice to have an init method in both interfaces, with arguments t0, y0 and t representing the integration boundaries. The init method would simply replace the reset method in the StepHandler interface and it would be a new method in the EventHandler interface.