|
core 1.8.1
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
|
#include <grid_halo_topology.hpp>
Public Member Functions | |
| FlatTopology | stacked (int k, Index stride) const |
| The same pattern for k fields at once: copy j of every list is offset by j * stride (the fields lie at offsets 0, stride, ..., (k-1) * stride of ONE view) and each partner's group holds its k copies back to back, so one message per partner carries all k fields. | |
Public Attributes | |
| MPI_Comm | comm = MPI_COMM_NULL |
| std::vector< int > | sendRanks |
| std::vector< int > | recvRanks |
| std::vector< int > | sendCounts |
| std::vector< int > | recvCounts |
| std::vector< Index > | sendIdx |
| std::vector< Index > | recvIdx |
| std::vector< Index > | selfSrc |
| std::vector< Index > | selfDst |
Definition at line 314 of file grid_halo_topology.hpp.
|
inline |
The same pattern for k fields at once: copy j of every list is offset by j * stride (the fields lie at offsets 0, stride, ..., (k-1) * stride of ONE view) and each partner's group holds its k copies back to back, so one message per partner carries all k fields.
Both ends stack with the same k in the same order, which keeps the pairing; stride is local.
Definition at line 325 of file grid_halo_topology.hpp.
References comm, recvCounts, recvIdx, recvRanks, selfDst, selfSrc, sendCounts, sendIdx, and sendRanks.
| MPI_Comm peclet::core::halo::GridHaloTopology< Dim >::FlatTopology::comm = MPI_COMM_NULL |
Definition at line 315 of file grid_halo_topology.hpp.
Referenced by peclet::core::halo::GridHaloTopology< Dim >::flatten(), and stacked().
| std::vector<int> peclet::core::halo::GridHaloTopology< Dim >::FlatTopology::sendRanks |
Definition at line 316 of file grid_halo_topology.hpp.
Referenced by peclet::core::halo::GridHaloTopology< Dim >::flatten(), and stacked().
| std::vector<int> peclet::core::halo::GridHaloTopology< Dim >::FlatTopology::recvRanks |
Definition at line 316 of file grid_halo_topology.hpp.
Referenced by peclet::core::halo::GridHaloTopology< Dim >::flatten(), and stacked().
| std::vector<int> peclet::core::halo::GridHaloTopology< Dim >::FlatTopology::sendCounts |
Definition at line 317 of file grid_halo_topology.hpp.
Referenced by peclet::core::halo::GridHaloTopology< Dim >::flatten(), and stacked().
| std::vector<int> peclet::core::halo::GridHaloTopology< Dim >::FlatTopology::recvCounts |
Definition at line 317 of file grid_halo_topology.hpp.
Referenced by peclet::core::halo::GridHaloTopology< Dim >::flatten(), and stacked().
| std::vector<Index> peclet::core::halo::GridHaloTopology< Dim >::FlatTopology::sendIdx |
Definition at line 318 of file grid_halo_topology.hpp.
Referenced by peclet::core::halo::GridHaloTopology< Dim >::flatten(), and stacked().
| std::vector<Index> peclet::core::halo::GridHaloTopology< Dim >::FlatTopology::recvIdx |
Definition at line 318 of file grid_halo_topology.hpp.
Referenced by peclet::core::halo::GridHaloTopology< Dim >::flatten(), and stacked().
| std::vector<Index> peclet::core::halo::GridHaloTopology< Dim >::FlatTopology::selfSrc |
Definition at line 319 of file grid_halo_topology.hpp.
Referenced by peclet::core::halo::GridHaloTopology< Dim >::flatten(), and stacked().
| std::vector<Index> peclet::core::halo::GridHaloTopology< Dim >::FlatTopology::selfDst |
Definition at line 319 of file grid_halo_topology.hpp.
Referenced by peclet::core::halo::GridHaloTopology< Dim >::flatten(), and stacked().