Skip to content

[hvpic-k-devel] hydro sync update node/face loops for hybrid stencils#114

Merged
nphtan merged 3 commits into
lanl:hybridVPIC-K-develfrom
aarontran:hyb_sync_hydro
May 21, 2026
Merged

[hvpic-k-devel] hydro sync update node/face loops for hybrid stencils#114
nphtan merged 3 commits into
lanl:hybridVPIC-K-develfrom
aarontran:hyb_sync_hydro

Conversation

@aarontran
Copy link
Copy Markdown

synchronize_hydro_array is updated to match legacy (CPU-only) HVPIC method hyb_synchronize_hydro_array

This PR should fix hydro-dump artifacts at MPI domain boundaries, especially when using QS shape (coming in later PRs).

WARNING: this PR may break downstream analyses, e.g. if any tests expect bitwise agreement in output dumps.

  • Ghost-cell accumulation is changed to direct addition, since all fields are cell-centered.
  • ADJUST_HYDRO macro is commented out to match old (legacy) HVPIC
  • ADJUST_HYDRO macro loop bounds modified to edit only live cells (N##X+1 --> N##X)

Compare hyb_synchronize_hydro_array in legacy (CPU-only) HVPIC
@aarontran aarontran changed the title hydro sync update node/face loops for hybridPIC [hvpic-k-devel] hydro sync update node/face loops for hybrid stencils May 20, 2026
@nphtan nphtan merged commit 9f90f26 into lanl:hybridVPIC-K-devel May 21, 2026
1 check passed
@aarontran aarontran deleted the hyb_sync_hydro branch May 21, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants