Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-714

init methods for event handler and stap handler in ODE

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 3.0
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              luc Luc Maisonobe
              Reporter:
              luc Luc Maisonobe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: