Repository navigation
Rename s_populate_F_igr_buffers to s_populate_scalar_buffers - #2407
Merged
Merged
Conversation
wilfonba
requested review from
danieljvickers
and removed request for
a team
November 22, 2026 20:38
|
Claude Code Review Head SHA: c3095a3 Files changed:
Findings: |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2407 +/- ##
=======================================
Coverage 66.14% 66.14%
=======================================
Files 112 112
Lines 31093 31093
Branches 4749 4749
=======================================
Hits 20567 20567
Misses 6675 6675
Partials 3851 3851 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
danieljvickers
approved these changes
Nov 23, 2026
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.
Contribution Policy
All contributions are expected to demonstrate:
If these expectations are not met, we would prefer to implement the changes ourselves rather than spend time reviewing low-effort submissions.
Summary
s_populate_F_igr_buffers(src/common/m_boundary_common.fpp) fills the ghost cells of a single scalar field: physical boundaries through per-cell periodic, reflective and extrapolation routines, processor boundaries throughs_mpi_sendrecv_variables_buffers. Nothing in it depends on IGR; only its names and comments say so. This PR renames it and its helpers so other solvers that need a scalar ghost fill can call it under a name that describes what it does. It is a rename only: no behaviour, argument order or GPU directive changes, and no CFD result changes.s_populate_F_igr_bufferss_populate_scalar_bufferss_populate_F_igr_bc_directions_populate_scalar_bc_directions_F_igr_periodics_scalar_periodics_F_igr_reflectives_scalar_reflectives_F_igr_ghost_cell_extrapolations_scalar_ghost_cell_extrapolationjac_sf(in those five routines)scalar_sfThe
GPU_ROUTINEname strings of the three per-cell routines follow the rename, and six doc comments that said "IGR Jacobian" now describe a generic scalar field.jac_sfinsrc/simulation/m_igr.fppis unchanged, since there it is the IGR Jacobian; that file changes only at its one call site.Three files, 54 lines changed each way. After mapping old names to new, the only remaining differences are the doc comments.
F_igrno longer appears insrc,docsortoolchain.Type of change
Testing
CPU, NVHPC 26.3: all targets build; the 24 IGR tests pass against the committed goldens, none regenerated; the formatter changes nothing;
./mfc.sh precheckpasses.Not verified: GPU builds (the device-routine changes are name-only but were not compiled for a GPU target) and case-optimized builds.
This PR was assisted by Claude Code.