MFEM  v3.3
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
 
void Save (std::ostream &out) const
 Save the data in a stream. More...
 
void Load (std::istream &in)
 Load the data from a stream. More...
 
virtual ~GroupTopology ()
 

Detailed Description

Definition at line 52 of file communication.hpp.

Constructor & Destructor Documentation

mfem::GroupTopology::GroupTopology ( )
inline

Definition at line 76 of file communication.hpp.

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

Definition at line 77 of file communication.hpp.

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

Copy constructor.

Definition at line 35 of file communication.cpp.

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

Definition at line 114 of file communication.hpp.

Member Function Documentation

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

Definition at line 80 of file communication.cpp.

MPI_Comm mfem::GroupTopology::GetComm ( )
inline

Definition at line 83 of file communication.hpp.

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

Definition at line 107 of file communication.hpp.

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

Definition at line 97 of file communication.hpp.

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

Definition at line 102 of file communication.hpp.

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

Definition at line 99 of file communication.hpp.

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

Definition at line 104 of file communication.hpp.

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

Definition at line 92 of file communication.hpp.

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

Definition at line 91 of file communication.hpp.

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

Definition at line 94 of file communication.hpp.

void mfem::GroupTopology::Load ( std::istream &  in)

Load the data from a stream.

Definition at line 223 of file communication.cpp.

int mfem::GroupTopology::MyRank ( )
inline

Definition at line 84 of file communication.hpp.

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

Definition at line 89 of file communication.hpp.

int mfem::GroupTopology::NRanks ( )
inline

Definition at line 85 of file communication.hpp.

void mfem::GroupTopology::Save ( std::ostream &  out) const

Save the data in a stream.

Definition at line 200 of file communication.cpp.

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

Definition at line 81 of file communication.hpp.


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