Skip to content

checkpointing bcs #4284

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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

checkpointing bcs #4284

wants to merge 12 commits into from

Conversation

Ig-dolci
Copy link
Contributor

@Ig-dolci Ig-dolci commented May 5, 2025

Description

This PR handles the issue with the incorrect checkpointing of Dirichlet boundary conditions. Currently, during tape recomputation, the user-defined boundary condition (DirichletBC._original_arg) is being updated. This leads to the issue #4206.
In that issue, James suggested an approach to checkpoint the Dirichlet boundary condition. This PR implements that suggestion and includes a test to verify the fix.
This change fixes issue #4206.

@connorjward
Copy link
Contributor

To fix CI I think you need to rebase on top of current master.

@dham dham enabled auto-merge (squash) May 7, 2025 15:17
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.

BUG: Disk checkpointing with tape.timestepper() causes incorrect BC evaluation at taping.
4 participants