-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for events? #13
Comments
I have a work in progress that is promising. The proposed API is the following:
I see advantages and disadvantages for all options of 4. |
2- How about providing them at both places? It would support continuing to run the same solver instance without having to explicitly pass events at each 4- I think I prefer version Maybe it helps to think of events in the other methods ( I would exclude |
I have added a PR to develop with an initial implementation. I have chosen a jitclass based implementation as I think it makes things easier to read and understand. I have not seen a performance hit as compared to using just functions and passing data around. I would love to hear your thoughts. |
That was fast, thanks a lot! I'll take a look... next year 😄 Feliz 2021 desde el otro lado del charco 🥂 |
A few comments:
|
Merged. Docs are still missing. |
(Comes from #11)
Event are trickier but it would be nice to have also for the original purpose of the numbakit-ode (biological simulations). It would be nice to define the API first.
Originally posted by @hgrecco in #11 (comment)
The text was updated successfully, but these errors were encountered: