MFEM  v3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::GroupTopology Class Reference

#include <communication.hpp>

Public Member Functions

 GroupTopology (MPI_Comm comm)
 
MPI_Comm GetComm ()
 
int MyRank ()
 
int NRanks ()
 
void Create (ListOfIntegerSets &groups, int mpitag)
 
int NGroups () const
 
int GetNumNeighbors () const
 
int GetNeighborRank (int i) const
 
bool IAmMaster (int g) const
 
int GetGroupMaster (int g) const
 
int GetGroupMasterRank (int g) const
 
int GetGroupMasterGroup (int g) const
 
int GetGroupSize (int g) const
 
const int * GetGroup (int g) const
 

Detailed Description

Definition at line 27 of file communication.hpp.

Constructor & Destructor Documentation

mfem::GroupTopology::GroupTopology ( MPI_Comm  comm)
inline

Definition at line 46 of file communication.hpp.

Member Function Documentation

void mfem::GroupTopology::Create ( ListOfIntegerSets groups,
int  mpitag 
)

Definition at line 54 of file communication.cpp.

MPI_Comm mfem::GroupTopology::GetComm ( )
inline

Definition at line 48 of file communication.hpp.

const int* mfem::GroupTopology::GetGroup ( int  g) const
inline

Definition at line 72 of file communication.hpp.

int mfem::GroupTopology::GetGroupMaster ( int  g) const
inline

Definition at line 62 of file communication.hpp.

int mfem::GroupTopology::GetGroupMasterGroup ( int  g) const
inline

Definition at line 67 of file communication.hpp.

int mfem::GroupTopology::GetGroupMasterRank ( int  g) const
inline

Definition at line 64 of file communication.hpp.

int mfem::GroupTopology::GetGroupSize ( int  g) const
inline

Definition at line 69 of file communication.hpp.

int mfem::GroupTopology::GetNeighborRank ( int  i) const
inline

Definition at line 57 of file communication.hpp.

int mfem::GroupTopology::GetNumNeighbors ( ) const
inline

Definition at line 56 of file communication.hpp.

bool mfem::GroupTopology::IAmMaster ( int  g) const
inline

Definition at line 59 of file communication.hpp.

int mfem::GroupTopology::MyRank ( )
inline

Definition at line 49 of file communication.hpp.

int mfem::GroupTopology::NGroups ( ) const
inline

Definition at line 54 of file communication.hpp.

int mfem::GroupTopology::NRanks ( )
inline

Definition at line 50 of file communication.hpp.


The documentation for this class was generated from the following files: