G+Smo  23.12.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsSerialGroup Class Reference

Detailed Description

A sequential communicator group class.

Public Member Functions

const MPI_Group * operator& () const
 Returns a constant pointer to the internal group object.
 

Static Public Member Functions

static int compare (const gsSerialGroup &other)
 Compares the group with another group.
 
static int compare (const int &other)
 Compares the group with another group.
 
static gsSerialGroup diff (const gsSerialGroup &other)
 Creates a group from the difference of the group with another group.
 
static gsSerialGroup diff (const int &other)
 Creates a group from the difference of the group with another group.
 
static gsSerialGroup intersect (const gsSerialGroup &other)
 Creates a group from the intersection of the group with another group.
 
static gsSerialGroup intersect (const int &other)
 Creates a group from the intersection of the group with another group.
 
static std::ostream & print (std::ostream &os)
 Prints the group object as a string.
 
static int rank ()
 Returns the rank of the group.
 
static int size ()
 Returns the size of the group.
 
static gsSerialGroup unite (const gsSerialGroup &other)
 Creates a group from the union of the group with another group.
 
static gsSerialGroup unite (const int &other)
 Creates a group from the union of the group with another group.