Hey! First, I'd like to say, that this is a great project, and I was investigating the possibility to write something like this myself, but this is way better than what I would have scraped together.
I'd like to open the discussion, if I may, for adding event / callback functions. This was mentioned in #1.
This is available in the R-package desolve and
the julia package DifferentialEquations.jl as callbacks.
- stopping the integration before the specified $t_{max}$
- stopping the integration regardless of $t_{max}$
- change the state when an event occurs, that is specified as a root for some function
Currently, I make use of the 2nd point, in that I use this to accurately determine a certain duration using deSolve.
E.g.
deSolve::lsodar(
times = c(0, Inf),
rootfunc =
# estimate for prevalence - prevalence threshold
...
)
I'd like to be able to do (2), but (1) and (3) are cool to have. It would be nice to collate thoughts,
ideas, concerns, about this, and maybe eventually someone could do it? I would very much like to
contribute, and if it becomes somewhat clear, what needs to happen, I'd like to do it!
Hey! First, I'd like to say, that this is a great project, and I was investigating the possibility to write something like this myself, but this is way better than what I would have scraped together.
I'd like to open the discussion, if I may, for adding event / callback functions. This was mentioned in #1.
This is available in the R-package
desolveandthe julia package DifferentialEquations.jl as callbacks.
Currently, I make use of the 2nd point, in that I use this to accurately determine a certain duration using
deSolve.E.g.
I'd like to be able to do (2), but (1) and (3) are cool to have. It would be nice to collate thoughts,
ideas, concerns, about this, and maybe eventually someone could do it? I would very much like to
contribute, and if it becomes somewhat clear, what needs to happen, I'd like to do it!