|
MFEM v2.0
|
#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 () |
| int | GetNumNeighbors () |
| int | GetNeighborRank (int i) |
| bool | IAmMaster (int g) |
| int | GetGroupMaster (int g) |
| int | GetGroupMasterRank (int g) |
| int | GetGroupMasterGroup (int g) |
| int | GetGroupSize (int g) |
| const int * | GetGroup (int g) |
Private Member Functions | |
| void | ProcToLProc () |
Private Attributes | |
| MPI_Comm | MyComm |
| Table | group_lproc |
| Array< int > | groupmaster_lproc |
| Array< int > | lproc_proc |
| Array< int > | group_mgroup |
Definition at line 15 of file communication.hpp.
| GroupTopology::GroupTopology | ( | MPI_Comm | comm | ) | [inline] |
Definition at line 34 of file communication.hpp.
References MyComm.
| void GroupTopology::Create | ( | ListOfIntegerSets & | groups, |
| int | mpitag | ||
| ) |
| MPI_Comm GroupTopology::GetComm | ( | ) | [inline] |
Definition at line 36 of file communication.hpp.
References MyComm.
| const int* GroupTopology::GetGroup | ( | int | g | ) | [inline] |
Definition at line 59 of file communication.hpp.
References Table::GetRow(), and group_lproc.
| int GroupTopology::GetGroupMaster | ( | int | g | ) | [inline] |
Definition at line 50 of file communication.hpp.
References groupmaster_lproc.
| int GroupTopology::GetGroupMasterGroup | ( | int | g | ) | [inline] |
Definition at line 54 of file communication.hpp.
References group_mgroup.
| int GroupTopology::GetGroupMasterRank | ( | int | g | ) | [inline] |
Definition at line 52 of file communication.hpp.
References groupmaster_lproc, and lproc_proc.
| int GroupTopology::GetGroupSize | ( | int | g | ) | [inline] |
Definition at line 56 of file communication.hpp.
References group_lproc, and Table::RowSize().
| int GroupTopology::GetNeighborRank | ( | int | i | ) | [inline] |
Definition at line 45 of file communication.hpp.
References lproc_proc.
| int GroupTopology::GetNumNeighbors | ( | ) | [inline] |
Definition at line 44 of file communication.hpp.
References lproc_proc, and Array< T >::Size().
| bool GroupTopology::IAmMaster | ( | int | g | ) | [inline] |
Definition at line 47 of file communication.hpp.
References groupmaster_lproc.
| int GroupTopology::MyRank | ( | ) | [inline] |
Definition at line 37 of file communication.hpp.
References MyComm.
| int GroupTopology::NGroups | ( | ) | [inline] |
Definition at line 42 of file communication.hpp.
References group_lproc, and Table::Size().
Referenced by ParMesh::GetNGroups().
| int GroupTopology::NRanks | ( | ) | [inline] |
Definition at line 38 of file communication.hpp.
References MyComm.
| void GroupTopology::ProcToLProc | ( | ) | [private] |
Table GroupTopology::group_lproc [private] |
Definition at line 26 of file communication.hpp.
Referenced by GetGroup(), GetGroupSize(), and NGroups().
Array<int> GroupTopology::group_mgroup [private] |
Definition at line 29 of file communication.hpp.
Referenced by GetGroupMasterGroup().
Array<int> GroupTopology::groupmaster_lproc [private] |
Definition at line 27 of file communication.hpp.
Referenced by GetGroupMaster(), GetGroupMasterRank(), and IAmMaster().
Array<int> GroupTopology::lproc_proc [private] |
Definition at line 28 of file communication.hpp.
Referenced by GetGroupMasterRank(), GetNeighborRank(), and GetNumNeighbors().
MPI_Comm GroupTopology::MyComm [private] |
Definition at line 18 of file communication.hpp.
Referenced by GetComm(), GroupTopology(), MyRank(), and NRanks().
1.7.4