DGMulti shock capturing part 2: SBP approximation types#2942
DGMulti shock capturing part 2: SBP approximation types#2942jlchan merged 28 commits intotrixi-framework:mainfrom
DGMulti shock capturing part 2: SBP approximation types#2942Conversation
remove extra end remove unnecessary comment
add 3d test
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. |
Removing curved shock capturing test since we haven't implemented low order free-stream metrics
|
CI results differ pretty significantly from local results in this PR: https://github.com/trixi-framework/Trixi.jl/actions/runs/24645680499/job/72057804271?pr=2942#step:7:11928 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2942 +/- ##
=======================================
Coverage 97.13% 97.13%
=======================================
Files 623 624 +1
Lines 48384 48439 +55
=======================================
+ Hits 46995 47050 +55
Misses 1389 1389
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:
|
Still trying to track down CI differences. Rerunning with Julia v1.10.11 on my laptop doesn't change test results. Edit: it seems to be an Apple Silicon issue. Using |
|
Found the issue: it's the discontinuous initial condition from This issue doesn't arise for other approximation types because they initialize the solution using an L2 projection at interior quadrature points and never evaluate the solution exactly at the discontinuity. Edit: maybe not, CI still seems to be having issues still Edit 2: ah, the issue is discontinuity of |
Replace the polar-coordinate blast setup with a Cartesian weak C0 initial condition so we avoid floating-point trouble from polar evaluation and from sampling exactly on the discontinuity. Update the GaussSBP and SBP regression L2/L∞ norms in test_dgmulti_2d.jl for elixir_euler_shockcapturing.jl to match the new IC. Made-with: Cursor
Co-authored-by: Daniel Doehring <doehringd2@gmail.com>
…jc/shock_capturing_part_2
|
Thanks for the review @DanielDoehring! |
DanielDoehring
left a comment
There was a problem hiding this comment.
LGTM! Thanks for making these PRs easier digestible Jesse :)
This splits off implementation of shock capturing for
SBPtypes from #2872 into a smaller PR. Part 1 is #2940 and should be merged first.The main functionality implemented here is
volume_integral_kernel!forDGMultiFluxDiffSBPtypes on tensor product element types. Previously, there was only an implementation forGaussSBPtypes, which involved one additional projection step.