-
Notifications
You must be signed in to change notification settings - Fork 112
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
Add two-sided Zalesak-type IDP subcell limiting #1648
Add two-sided Zalesak-type IDP subcell limiting #1648
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:
Additional details and impacted files@@ Coverage Diff @@
## main #1648 +/- ##
==========================================
- Coverage 96.23% 86.65% -9.58%
==========================================
Files 425 428 +3
Lines 34253 34482 +229
==========================================
- Hits 32960 29878 -3082
- Misses 1293 4604 +3311
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
The runtime analysis (1 thread and with
The same example with
|
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.
Again, just a quick review. I didn't work through the details of the method.
examples/tree_2d_dgsem/elixir_eulermulti_shock_bubble_shockcapturing_subcell_minmax.jl
Outdated
Show resolved
Hide resolved
examples/tree_2d_dgsem/elixir_euler_sedov_blast_wave_sc_subcell.jl
Outdated
Show resolved
Hide resolved
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.
LGTM!
A couple of comments below.
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.
Some more suggestions 😅
examples/tree_2d_dgsem/elixir_eulermulti_shock_bubble_shockcapturing_subcell_positivity.jl
Outdated
Show resolved
Hide resolved
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.
Once the last conversation is resolved, this LGTM
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.
LGTM, thanks!
@amrueda wants to take a final look. the test failures seem unrelated to this PR, so if he's happy with it, we can merge this |
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.
Almost there!
However, I just realized a problem with the bounds check routines 😅 :
Right now, only the positivity IDP limiter for conservative variables was merged into
main
. This PR adds the two-sided local IDP limiting for conservative variables.It is a Zalesak-type limiter which uses the low-order FV solution to calculate the local bounds.
Since the bound calculation requires boundary values, we introduce the routine
get_boundary_outer_state
. Since yet we only use this in one elixir, it is only implemented forBoundaryConditionDirichlet
.TODO:
News.md