Parameters for callbacks in DifferentialEquations.jl

#1

Is there a way to pass additional parameters to event detector and event handler functions in DifferentialEquations? (Other than by the obvious kluges, using globals or adding the parameters to the state vector with dp/dt = 0?).
Thanks.

0 Likes

#2

integrator.p

0 Likes

#3

Thanks!

0 Likes