-
Notifications
You must be signed in to change notification settings - Fork 111
Body Forces Bug Fix #920
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
Body Forces Bug Fix #920
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
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.
Pull Request Overview
This PR updates the golden test outputs and associated metadata to reflect the corrected body forces calculation, ensuring CI passes after the bug fix. Key changes include:
- Updated numeric values in
golden.txt
for cases DEA0A0D6, reflecting the new solution. - Refreshed metadata timestamps, CMake/compilers, and added
-j 8
&single=No
flags ingolden-metadata.txt
across multiple tests. - Swapped section labels (e.g.,
post_process
→pre_process
,simulation
→syscheck
) to match current test harness behavior.
Reviewed Changes
Copilot reviewed 10 out of 17 changed files in this pull request and generated no comments.
File | Description |
---|---|
tests/E21940B3/golden-metadata.txt | Metadata updated with new timestamp, flags |
tests/DEA0A0D6/golden.txt | Golden outputs regenerated for bug fix |
tests/DEA0A0D6/golden-metadata.txt | Metadata updated with new timestamp, flags |
tests/B54BB9D8/golden-metadata.txt | Metadata updated with new timestamp, flags |
Comments suppressed due to low confidence (3)
tests/E21940B3/golden-metadata.txt:5
- [nitpick] Consider removing the
-j 8
flag from the test invocation to ensure sequential, reproducible golden file generation and avoid nondeterministic failures when tests run in parallel.
Invocation: test --generate -o Bodyforces -j 8
tests/DEA0A0D6/golden-metadata.txt:5
- [nitpick] Consider removing the
-j 8
flag from the test invocation to ensure sequential, reproducible golden file generation and avoid nondeterministic failures when tests run in parallel.
Invocation: test --generate -o Bodyforces -j 8
tests/B54BB9D8/golden-metadata.txt:5
- [nitpick] Consider removing the
-j 8
flag from the test invocation to ensure sequential, reproducible golden file generation and avoid nondeterministic failures when tests run in parallel.
Invocation: test --generate -o Bodyforces -j 8
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #920 +/- ##
=======================================
Coverage 44.15% 44.15%
=======================================
Files 68 68
Lines 18347 18347
Branches 2227 2227
=======================================
Hits 8101 8101
Misses 8943 8943
Partials 1303 1303 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
curious to make sure the benchmarking behaves well on the new Frontier benchmark. after that will merge. |
User description
Description
Fixes a bug in the body forces code.
Fixes #913
Type of change
Please delete options that are not relevant.
Scope
How Has This Been Tested?
This was validated against the linear theory for the Rayleigh-Taylor instability given in (https://pubs.aip.org/aapt/ajp/article/74/12/1095/1042158/The-Rayleigh-Taylor-instability) for

examples/2D_rayleigh_taylor/case.py
. The validation plot is attached:PR Type
Bug fix
Description
Fixed argument order in body forces subroutine call
Updated test golden files with new metadata
Simplified Rayleigh-Taylor example documentation
Changes diagram
Changes walkthrough 📝
1 files
Fixed subroutine parameter order
6 files
Updated test metadata timestamps
Updated test metadata timestamps
Updated test metadata timestamps
Updated test metadata timestamps
Updated test metadata timestamps
Updated test metadata timestamps
1 files
Simplified documentation with single result image
6 files