Skip to content

refactor: use the Buffer and BoundingBox types to perform the communication packing / unpacking in Axis class#385

Open
svalat wants to merge 3 commits into
idefix-code:developfrom
svalat:refactor/mpi-exchanges-use-buffer-packer
Open

refactor: use the Buffer and BoundingBox types to perform the communication packing / unpacking in Axis class#385
svalat wants to merge 3 commits into
idefix-code:developfrom
svalat:refactor/mpi-exchanges-use-buffer-packer

Conversation

@svalat

@svalat svalat commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

What

Replace the hand made buffer packing by using BoundingBox and Buffer into the Axis class in preparation to a larger refactoring to latter use the Exchanger class into Axis to manage the communications.

Process made in 3 steps

  1. Add the new communication way (duplicate)
  2. Compare both while running
  3. Removing old.

Needed a add UnpackJDirSymetric() in Buffer class.

Validation

  • 32 MPI process on MHD/AxisFluxTube in bound check + dual communication (new & old compared in flight by asserts)
  • Test suite on MHD/AxisFluxTube MPI.

Squash

I let the steps commits in the branch, but they can be squashed for the merge in develop.

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.

1 participant