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

WIP: Propogate boundary conditions to old values #921

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Maxwellfire
Copy link

@Maxwellfire Maxwellfire commented Apr 26, 2023

Draft WIP:

Currently fipy does not apply boundary conditions to the old values stored in variables. This means that when you compute some metrics (like the time derivative of a quantity on the boundary), you don't get the expected answer.

I'm making this draft pull request to start a conversation and see if this is something that would be helpful to contribute upstream once polished up. I've been using these changes locally for a while.

@guyer
Copy link
Member

guyer commented Apr 26, 2023

Thanks for the proposal! This sounds like a reasonable thing to do.

Before merging, I'll need to figure out why the CI has fallen over (and why it hasn't notified me for the last month that it isn't working) and make sure that we get clean tests.

@guyer
Copy link
Member

guyer commented May 12, 2023

@Maxwellfire: I've finally fixed the CI (#925) and your code both passes and seems like a good idea. Would you like to submit this PR for review?

@Maxwellfire
Copy link
Author

@guyer I think that I should include some code that accounts for deleting boundary conditions as well, and take a final check that my code covers all the cases. Once I do that, I'll submit for review

@guyer
Copy link
Member

guyer commented Dec 12, 2023

Checking in to see if you've had a chance to polish this PR?

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.

2 participants