Skip to content
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 support for checkpoint/restart #260

Merged
merged 2 commits into from
Feb 23, 2024

Conversation

Rombur
Copy link
Member

@Rombur Rombur commented Feb 22, 2024

This PR adds support for checkpoint/restart. deal.II uses SolutionTransfer for the serialization and so, the new code is very similar to the code to transfer data when the mesh is refined. I haven't tested the case where the chekpoint and the restart use different number of processors but when testing with more than 1 processor, the partitioning is different. This is because when we first create a mesh we use a cell-based partitioning whereas after the first refinement we use a dof-based partitioning. This gives me some confidence that it works as expected. Note that deal.II creates several files during serialization and that I also create a file to store the current time step number and the current time.

@stvdwtt stvdwtt merged commit 71ab318 into adamantine-sim:master Feb 23, 2024
1 check passed
@Rombur Rombur deleted the checkpoint_restart branch February 28, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants