-
Notifications
You must be signed in to change notification settings - Fork 119
Add missing p4est functions with nonconservative terms #2308
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
base: main
Are you sure you want to change the base?
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2308 +/- ##
==========================================
+ Coverage 96.90% 96.91% +0.01%
==========================================
Files 503 505 +2
Lines 41717 41768 +51
==========================================
+ Hits 40425 40479 +54
+ Misses 1292 1289 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
calc_boundary_flux
…ork/Trixi.jl into bg/noncons-boundary-flux-3d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this @benegee!
I have only checked the 2D part, and I think that I identified an issue. I'll commit a suggestion. After this, we can add a test to check if the parallel implementation does the same as the serial one.
@benegee, can you please copy one of the existing curvilinear non-conservative examples into the MPI test suit? (see, e.g., the 3D non-conservative MPI PR: #2126)
…ompute primary AND secondary fluxes
…ork/Trixi.jl into bg/noncons-boundary-flux-3d
…ork/Trixi.jl into bg/noncons-boundary-flux-3d
I added an MPI test, using a new elixir adapted from the 3D |
Yes, I think that we should have tests with and without MPI running the same elixir and getting the same reference values. You can just copy a non-conservative test set from |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
The 2D test cases seem to work. Any idea which elixir could be used to cover the 3D |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
When using nonconservative terms in equations,
calc_mpi_interface_flux
calc_mpi_mortar_flux
calc_boundary_flux
were missing. I tried to do implement them in analogy to the corresponding 2D/3D case.
Some tests are still missing.