MFEM  v3.3.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
 
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 50 of file communication.hpp.

Constructor & Destructor Documentation

mfem::GroupTopology::GroupTopology ( )
inline

Definition at line 74 of file communication.hpp.

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

Definition at line 75 of file communication.hpp.

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

Copy constructor.

Definition at line 44 of file communication.cpp.

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

Definition at line 112 of file communication.hpp.

Member Function Documentation

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

Definition at line 89 of file communication.cpp.

MPI_Comm mfem::GroupTopology::GetComm ( )
inline

Definition at line 81 of file communication.hpp.

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

Definition at line 105 of file communication.hpp.

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

Definition at line 95 of file communication.hpp.

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

Definition at line 100 of file communication.hpp.

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

Definition at line 97 of file communication.hpp.

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

Definition at line 102 of file communication.hpp.

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

Definition at line 90 of file communication.hpp.

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

Definition at line 89 of file communication.hpp.

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

Definition at line 92 of file communication.hpp.

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

Load the data from a stream.

Definition at line 232 of file communication.cpp.

int mfem::GroupTopology::MyRank ( )
inline

Definition at line 82 of file communication.hpp.

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

Definition at line 87 of file communication.hpp.

int mfem::GroupTopology::NRanks ( )
inline

Definition at line 83 of file communication.hpp.

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

Save the data in a stream.

Definition at line 209 of file communication.cpp.

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

Definition at line 79 of file communication.hpp.


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