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
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