Adding and updating a scalar to the Integerator Cache in DifferentialEquations.jl

Note that PresetTimeCallback can take a vector of times so you don’t need to create one for each individual time.

https://docs.sciml.ai/DiffEqCallbacks/stable/timed_callbacks/#Timed-Callbacks