pnm 1.0.3
peclet.pnm — pore-network extraction from SDF geometry (Kokkos)
Loading...
Searching...
No Matches
pnm::detail_mpi::MergeRemap Struct Reference

ONE global merge of a cross-block equivalence graph: the local (a,b) pairs are allgathered and union-found on the host (union-by-min-gid: the class root is the min gid, matching the single-rank fixpoint; deterministic on every rank — identical input). More...

#include <pore_extraction_mpi.hpp>

Public Attributes

peclet::core::View< Index > keys
 
peclet::core::View< Index > roots
 
Index nk = 0
 

Detailed Description

ONE global merge of a cross-block equivalence graph: the local (a,b) pairs are allgathered and union-found on the host (union-by-min-gid: the class root is the min gid, matching the single-rank fixpoint; deterministic on every rank — identical input).

Returns the (key -> root) remap for every key that is not its own root, as sorted device key/value views for kernels::bsearchKey (nk = 0 when nothing merges).

Definition at line 168 of file pore_extraction_mpi.hpp.

Member Data Documentation

◆ keys

peclet::core::View<Index> pnm::detail_mpi::MergeRemap::keys

◆ roots

peclet::core::View<Index> pnm::detail_mpi::MergeRemap::roots

◆ nk

Index pnm::detail_mpi::MergeRemap::nk = 0

The documentation for this struct was generated from the following file: