MFEM  v3.1
Finite element discretization library
 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)
 
 GroupTopology (const GroupTopology &gt)
 Copy constructor. More...
 
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.

mfem::GroupTopology::GroupTopology ( const GroupTopology gt)

Copy constructor.

Definition at line 30 of file communication.cpp.

Member Function Documentation

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

Definition at line 75 of file communication.cpp.

MPI_Comm mfem::GroupTopology::GetComm ( )
inline

Definition at line 51 of file communication.hpp.

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

Definition at line 75 of file communication.hpp.

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

Definition at line 65 of file communication.hpp.

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

Definition at line 70 of file communication.hpp.

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

Definition at line 67 of file communication.hpp.

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

Definition at line 72 of file communication.hpp.

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

Definition at line 60 of file communication.hpp.

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

Definition at line 59 of file communication.hpp.

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

Definition at line 62 of file communication.hpp.

int mfem::GroupTopology::MyRank ( )
inline

Definition at line 52 of file communication.hpp.

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

Definition at line 57 of file communication.hpp.

int mfem::GroupTopology::NRanks ( )
inline

Definition at line 53 of file communication.hpp.


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