Remove MHD + Lax-Friedrichs - #1722
Open
ChrisZYJ wants to merge 2 commits into
Open
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1722 +/- ##
==========================================
+ Coverage 61.21% 61.37% +0.16%
==========================================
Files 84 84
Lines 21601 21542 -59
Branches 3195 3189 -6
==========================================
- Hits 13223 13222 -1
+ Misses 6209 6153 -56
+ Partials 2169 2167 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bug fix, Closes #1661.
Deletes the unreachable MHD and RMHD branches from
src/simulation/m_riemann_solver_lf.fpp(state blocks, momentum/energy flux arms, induction-equation flux block,c_fastcomputation, and the associated declarations/GPU-private-list entries). Adds the missing Fortran-side check insrc/simulation/m_checker.fppNote: The deletion choice follows from the #1661 review's suggested resolution. The MHD code in LF was never reachable through the toolchain, and the implementation has subtle bugs (like Rusanov bound only using the acoustic sound speed).
Net LOC
src: −154/+16 (m_riemann_solver_lf.fpp+14/−154,m_checker.fpp+2).Testing
Passed local tests.
Checklist
Check these like this
[x]to indicate which of the below applies.See the developer guide for full coding standards.
GPU changes (expand if you modified
src/simulation/)AI code reviews
Reviews are not retriggered automatically. To request a review, comment on the PR:
@claude full review— Claude full review (also triggers on PR open/reopen/ready)claude-full-review— Claude full review via label