2.6 C++ Bindings for Groups, Contexts, and Communicators

For both syntactic and semantic reasons, the Dup() functions listed below are not virtual. Syntactically, they must each have a different return type. Dup() and Clone are discussed in Section 10.1.7, page [*].

namespace MPI {
7em=1 int Group::Get_size() const



7em=1 int Group::Get_rank() const



7em=1 static void Group::Translate_ranks (const Group& group1, int n, const int ranks1[], const Group& group2, int ranks2[])



7em=1 static int Group::Compare(const Group& group1, const Group& group2)



7em=1 Group Comm::Get_group() const



7em=1 static Group Group::Union(const Group& group1, const Group& group2)



7em=1 static Group Group::Intersect(const Group& group1, const Group& group2)



7em=1 static Group Group::Difference(const Group& group1, const Group& group2)



7em=1 Group Group::Incl(int n, const int ranks[]) const



7em=1 Group Group::Excl(int n, const int ranks[]) const



7em=1 Group Group::Range_incl(int n, const int ranges[][3]) const



7em=1 Group Group::Range_excl(int n, const int ranges[][3]) const



7em=1 void Group::Free()



7em=1 int Comm::Get_size() const



7em=1 int Comm::Get_rank() const



7em=1 static int Comm::Compare(const Comm& comm1, const Comm& comm2)



7em=1 Intracomm Intracomm::Dup() const



7em=1 Intercomm Intercomm::Dup() const



7em=1 Cartcomm Cartcomm::Dup() const



7em=1 Graphcomm Graphcomm::Dup() const



7em=1 Comm& Comm::Clone() const = 0



7em=1 Intracomm& Intracomm::Clone() const



7em=1 Intercomm& Intercomm::Clone() const



7em=1 Cartcomm& Cartcomm::Clone() const



7em=1 Graphcomm& Graphcomm::Clone() const



7em=1 Intracomm Intracomm::Create(const Group& group) const



7em=1 Intracomm Intracomm::Split(int color, int key) const



7em=1 void Comm::Free()



7em=1 bool Comm::Is_inter() const



7em=1 int Intercomm::Get_remote_size() const



7em=1 Group Intercomm::Get_remote_group() const



7em=1 Intercomm Intracomm::Create_intercomm(int local_leader, const Comm& peer_comm, int remote_leader, int tag) const



7em=1 Intracomm Intercomm::Merge(bool high) const



};

MPI-Standard for MARMOT