phdMesh
Version of the Day
|
#include <ParallelIndex.hpp>
Public Types | |
typedef uint64_type | key_type |
typedef std::pair< key_type, key_type > | KeyProc |
Public Member Functions | |
ParallelIndex (ParallelMachine, const std::vector< key_type > &) | |
void | query (std::vector< KeyProc > &) const |
void | query (const std::vector< key_type > &, std::vector< KeyProc > &) const |
Parallel cross-reference index for a collection of 'key_type' keys. Each processor constructs a ParallelIndex with its local collection of keys. The ParallelIndex may be queried for (1) which other processors that submitted the same keys or (2) which processors submitted an arbitrary set of keys.
Definition at line 45 of file ParallelIndex.hpp.
void phdmesh::ParallelIndex::query | ( | std::vector< KeyProc > & | ) | const |
Query which other processors submitted the same keys that the local processor submitted.
void phdmesh::ParallelIndex::query | ( | const std::vector< key_type > & | , |
std::vector< KeyProc > & | |||
) | const |
Query which processors submitted the given keys. The local processor is in the output if it submitted a queried key.