SCC26 Practice Problem Prep - #1731
Conversation
|
Claude Code Review Head SHA: f97535b Files changed:
Findings:
|
There was a problem hiding this comment.
Pull request overview
Prepares the MFC codebase for SCC26 practice problems by addressing a compiler-related performance regression in the conservative→primitive conversion path and improving the configurability of the 2D_shockdroplet example case (plus a regenerated test artifact).
Changes:
- Add a local import of
shear_indicesins_convert_conservative_to_primitive_variables(intended AMDFlang performance workaround). - Enhance
examples/2D_shockdroplet/case.pywith CLI arguments and derived shock/post-shock/time-stepping parameters. - Regenerate
tests/82152069/golden-metadata.txtmetadata.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/common/m_variables_conversion.fpp |
Adds a local use ... only: shear_indices within the conservative→primitive conversion routine. |
examples/2D_shockdroplet/case.py |
Adds argparse-driven configuration and derives post-shock state/time-stepping values programmatically. |
tests/82152069/golden-metadata.txt |
Updates generated golden metadata (invocation + environment details). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1731 +/- ##
=======================================
Coverage 61.60% 61.60%
=======================================
Files 84 84
Lines 21522 21522
Branches 3179 3179
=======================================
Hits 13258 13258
Misses 6085 6085
Partials 2179 2179 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This PR makes 2 changes in preparation for the SCC26 practice problems:
s_convert_conservative_to_primitiveto circumvent a performance regression with AMDFlangexamples/2D_shockdroplet/case.pyfile