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

init methods for event handler and stap handler in ODE

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 3.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: