AMICI-dev / AMICI

Advanced Multilanguage Interface to CVODES and IDAS
https://amici.readthedocs.io/
Other
108 stars 31 forks source link

Handle events with time-based triggers without rootfinding? #2185

Open dweindl opened 1 year ago

dweindl commented 1 year ago

We wouldn't really need any of sundials' rootfinding for handling events with time-based triggers.

Handling those events without rootfinding should be more efficient and solve some of those issues:

Cvode routine CVode returned a root after reinitialization. The initial step-size after the event or heaviside function is too small. To fix this, increase absolute and relative tolerances! failed with error code 2

Not yet sure how much effort it would be.

dweindl commented 10 months ago