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

Checkpointing to original mesh #70

Merged
merged 32 commits into from Mar 1, 2024
Merged

Conversation

jorgensd
Copy link
Owner

@jorgensd jorgensd commented Feb 27, 2024

A persistent checkpoint that writes function data as it would be on the input mesh.

One can either use write_mesh_input_order to write a mesh to a checkpoint file in the same order as the "input"-mesh or simply reload the mesh from file.

A function should be written with: write_function_on_input_mesh
and read with read_function (no API change for reading).

Other fixes

  • Fixes to compute_index_owner for corner case
  • Use Ruff for formatting
  • Fix numpy casting warnings in test

@jorgensd jorgensd marked this pull request as draft February 27, 2024 19:22
@jorgensd jorgensd marked this pull request as ready for review February 29, 2024 16:23
@jorgensd
Copy link
Owner Author

@marchirschvogel @francesco-ballarin: Ready for review

@jorgensd jorgensd merged commit 11eb640 into main Mar 1, 2024
17 checks passed
@jorgensd jorgensd deleted the dokken/original_mesh_checkpointing branch March 2, 2024 19:47
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