MFEM  v3.2
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 ()
 
 GroupTopology (MPI_Comm comm)
 
 GroupTopology (const GroupTopology &gt)
 Copy constructor. More...
 
void SetComm (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
 
virtual ~GroupTopology ()
 

Detailed Description

Definition at line 52 of file communication.hpp.

Constructor & Destructor Documentation

mfem::GroupTopology::GroupTopology ( )
inline

Definition at line 71 of file communication.hpp.

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

Definition at line 72 of file communication.hpp.

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

Copy constructor.

Definition at line 33 of file communication.cpp.

virtual mfem::GroupTopology::~GroupTopology ( )
inlinevirtual

Definition at line 104 of file communication.hpp.

Member Function Documentation

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

Definition at line 78 of file communication.cpp.

MPI_Comm mfem::GroupTopology::GetComm ( )
inline

Definition at line 78 of file communication.hpp.

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

Definition at line 102 of file communication.hpp.

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

Definition at line 92 of file communication.hpp.

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

Definition at line 97 of file communication.hpp.

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

Definition at line 94 of file communication.hpp.

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

Definition at line 99 of file communication.hpp.

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

Definition at line 87 of file communication.hpp.

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

Definition at line 86 of file communication.hpp.

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

Definition at line 89 of file communication.hpp.

int mfem::GroupTopology::MyRank ( )
inline

Definition at line 79 of file communication.hpp.

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

Definition at line 84 of file communication.hpp.

int mfem::GroupTopology::NRanks ( )
inline

Definition at line 80 of file communication.hpp.

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

Definition at line 76 of file communication.hpp.


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