eckit::mpi::ParallelGroup class

Base classes

class GroupContent

Constructors, destructors, conversion operators

~ParallelGroup() override

Public functions

void attach() const
void detach() const
auto count() const -> size_t
void lock() const
void unlock() const

Private functions

void print(std::ostream&) const override
auto group() const -> int override
auto compare(const GroupContent&) const -> int override
auto difference(const GroupContent&) const -> GroupContent* override
auto intersection(const GroupContent&) const -> GroupContent* override
auto union_group(const GroupContent&) const -> GroupContent* override
auto size() const -> size_t override
auto rank() const -> int override
auto excl(const std::vector<int>& ranks) const -> GroupContent* override
auto incl(const std::vector<int>& ranks) const -> GroupContent* override
auto range_excl(const std::vector<std::array<int, 3>>& ranks) const -> GroupContent* override
auto range_incl(const std::vector<std::array<int, 3>>& ranks) const -> GroupContent* override
auto translate_ranks(const std::vector<int>& ranks, const GroupContent& other) const -> std::unordered_map<int, int> override

Function documentation

void eckit::mpi::ParallelGroup::attach() const

void eckit::mpi::ParallelGroup::detach() const

size_t eckit::mpi::ParallelGroup::count() const

void eckit::mpi::ParallelGroup::lock() const

void eckit::mpi::ParallelGroup::unlock() const