-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option to continue simulation from saved snapshot #89
Comments
It would be awesome to have that. Do you think it would be much different than what you wrote for the piggybacker? We are reading in the velocities and scalars there anyhow? |
Also, for the bulk schemes we wouldn't need to save that much? If you tell me how to start I could try adding that |
Right, with bulk microphysics snapshots would not bo so large. With bulk, all variables are stored as blitz arrays, so IO to file can be done the same way as for velocity fields in piggybacking. It would be much better to store snapshots in binary files (hdf5), but that would take some more effort. How this could be implemented (from the top of my head, probably missing a lot of details): When running from the snapshot, the arrays should be read after "intcond" method of the case class has been called. Also, timestep should be set to the one from the snapshot. |
Thanks!. I'll work on it |
Snapshots would be huge, though.
The text was updated successfully, but these errors were encountered: