[R-sig-dyn-mod] Modify times parameter in lsoda at runtime
Thomas Petzoldt
Thomas.Petzoldt at TU-Dresden.de
Thu Dec 1 22:49:00 CET 2011
Dear Ruben,
changing 'times' on the fly is not possible for efficiency reasons.
In contrast to this it *is* possible to trigger events or to stop a
simulation at any point in time by using a root function. Examples 3-5
of the deSolve ?events help page may help you.
Also, re-thinking a model approach and some restructuring can often
simplify things so that 'tricks' can be avoided.
Hope it helps
Thomas
More information about the R-sig-dynamic-models
mailing list