Save all results in SavingCallback #1825
Labels
core
Issues related to the computational core in Julia
improvement
Improvements of the usability of existing functionality
Right now we use a combination of the SavingCallback and the
saveat
that goes into solve/init and hence into theintegrator.sol
. For the latter we need to take extra care thatsol.t
matches exactly the times that the SavingCallback is called. For instance to avoid duplicatet
, we need to setsave_positions
in callbacks.It is probably simpler to just do all saving with SavingCallbacks instead, so it is more consistent. Also we wouldn't store e.g. the PidControl error state that we don't currently use.
https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/#CommonSolve.solve-Tuple%7BSciMLBase.AbstractDEProblem,%20Vararg%7BAny%7D%7D
The text was updated successfully, but these errors were encountered: