Make SaveCallback finalizer more robust
Should the SaveCallback finalizer be called before the first prepropagate!
hook, it will try to add a snapshot to a snapshot group that doesn't exist yet and throws an error.
It should probably check whether the simulation file is already useable/the callback has already been initialized, and writestatic
before writesnap
ing if not