.. _file_core_include_HaloExchange.hpp: File HaloExchange.hpp ===================== |exhale_lsh| :ref:`Parent directory ` (``core/include``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS MPI façade to exchange ghost/halo slabs of ghost‑padded fields. .. contents:: Contents :local: :backlinks: none Definition (``core/include/HaloExchange.hpp``) ---------------------------------------------- .. toctree:: :maxdepth: 1 program_listing_file_core_include_HaloExchange.hpp.rst Detailed Description -------------------- Posts six non‑blocking ``None`` into the ghost layers of each field and overlaps communication with interior computation. Interfaces operate on ``Field`` views to avoid extra copies. .. code-block:: cpp exchange_ghosts(rho, mesh, cart_comm); // X±, Y±, Z± slabs All participating fields must share the same ghost width and extents. Includes -------- - ``Field.hpp`` (:ref:`file_core_include_Field.hpp`) - ``Mesh.hpp`` (:ref:`file_core_include_Mesh.hpp`) - ``mpi.h`` - ``vector`` Namespaces ---------- - :ref:`namespace_core` Functions --------- - :ref:`exhale_function_namespacecore_1a1d362dc9d6ae191521b5c2aa3b9da585`