-
Notifications
You must be signed in to change notification settings - Fork 104
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
Subcell positivity IDP limiting for conservative variables #1476
Subcell positivity IDP limiting for conservative variables #1476
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1476 +/- ##
==========================================
- Coverage 96.17% 94.64% -1.53%
==========================================
Files 406 414 +8
Lines 33532 33942 +410
==========================================
- Hits 32248 32123 -125
- Misses 1284 1819 +535
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
In my opinion, this PR is now ready so far. I have still noted a few small things.
examples/tree_2d_dgsem/elixir_eulermulti_shock_bubble_sc_subcell.jl
Outdated
Show resolved
Hide resolved
examples/tree_2d_dgsem/elixir_eulermulti_shock_bubble_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.
Overall this LGTM! I've looked at most of the PR and left some comments. Most of them are suggestions, but especially the consistent variable name formatting (snake_case
) would be great if it were addressed.
Do you have any allocations? E.g, can you post the output of the final timer summary? |
Feel free to request a review when you're ready for it |
It does not look like it. (This is the output of
But this becomes more interesting later with all the analysis routines. |
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
This PR is now ready so far. |
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 a lot! I just have a few minor comments. I guess you just need to resolve conflicts and we can merge this soon
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!
If CI passes, this should be merged automatically. If not, we need to watch out for #1590 etc. |
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! I noticed a few things/questions but nothing that would stop a merge once the tests have passed. Great work!
IMHO it would be good to add a NEWS.md item for this addition (just for our own record) |
Head branch was pushed to by a user without write access
This PR provides the very basic subcell positivity limiting feature using the IDP limiting.
Conservative variables can be limited with a one-sided Zalesak-type limiter. We pass these in
positivity_variables_cons
.Only the mesh type
TreeMesh2D
is supported.TODOs:
There are more PRs to come. All implemented features can be found in the branch subcell-limiting and PR #1502.