-
-
Notifications
You must be signed in to change notification settings - Fork 589
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
rewrite full conductivity submodel #4563
Conversation
Coverage could be affected here because there are catches for a specific case that this PR eliminates |
I'm slightly surprised this works without adding boundary conditions for the internal boundaries but is that already being done by another part of the code? |
Not explicitly. We do check for accuracy somewhere in tests right? I don't want to merge this without confirming that it is correct. |
oh yeah, there we go, failing integration tests big time |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4563 +/- ##
===========================================
- Coverage 99.42% 99.27% -0.16%
===========================================
Files 300 300
Lines 22774 22805 +31
===========================================
- Hits 22643 22639 -4
- Misses 131 166 +35 ☔ View full report in Codecov by Sentry. |
IIRC this is done in the base class, but only for the concatenated variable (the |
It appears that the code automatically sets Neumann internal boundary conditions for concatenated variables which is not always correct (at least in the way its implemented rn) , so that will need to be corrected and I'm guessing will fix this:
To handle this, I propose that we should have another dictionary, |
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #4324
Enables #4562
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ pre-commit run
(or$ nox -s pre-commit
) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)$ python run-tests.py --all
(or$ nox -s tests
)$ python run-tests.py --doctest
(or$ nox -s doctests
)You can run integration tests, unit tests, and doctests together at once, using
$ python run-tests.py --quick
(or$ nox -s quick
).Further checks: