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 the possibility for checkpointing #286

Merged
merged 5 commits into from
Aug 14, 2023
Merged

Conversation

sblauth
Copy link
Owner

@sblauth sblauth commented Aug 14, 2023

Now, the parameter Output.save_mesh saves a Gmsh mesh file for each iteration. This can be used with import_function to do a checkpointing.
Still to do: Document this feature, see #280

These are very useful for checkpointing
This function is similar to `read_function_from_xdmf` but requires a function space.
The benefit: We can import mesh and function simultaneously.
This can then be used for checkpointing and restarting simulations / optimizations
@sblauth sblauth added the development Development-related matters label Aug 14, 2023
@sblauth sblauth self-assigned this Aug 14, 2023
@sblauth sblauth enabled auto-merge August 14, 2023 13:34
@sblauth sblauth disabled auto-merge August 14, 2023 13:34
cashocs/io/mesh.py Fixed Show fixed Hide fixed
@sblauth sblauth merged commit 735f720 into main Aug 14, 2023
10 of 23 checks passed
@sblauth sblauth deleted the development/checkpointing branch August 14, 2023 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Development-related matters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant