#include <CommGrid.h>
List of all members.
Detailed Description
Definition at line 45 of file CommGrid.h.
Constructor & Destructor Documentation
| CommGrid::CommGrid |
( |
MPI_Comm |
world, |
|
|
int |
nrowproc, |
|
|
int |
ncolproc |
|
) |
| |
Create row and column communicators (must be collectively called) C syntax: int MPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *newcomm) C++ syntax: MPI::Intercomm MPI::Intercomm::Split(int color, int key) consts Semantics: Processes with the same color are in the same new communicator
Definition at line 31 of file CommGrid.cpp.
| CommGrid::CommGrid |
( |
const CommGrid & |
rhs | ) |
|
|
inline |
Member Function Documentation
| void CommGrid::CreateDiagWorld |
( |
| ) |
|
| MPI_Comm& CommGrid::GetColWorld |
( |
| ) |
|
|
inline |
| MPI_Comm CommGrid::GetColWorld |
( |
| ) |
const |
|
inline |
| int CommGrid::GetComplementRank |
( |
| ) |
|
|
inline |
| int CommGrid::GetDiagOfProcCol |
( |
| ) |
|
Get the rank of the diagonal processor in that particular col In the ith processor col, the diagonal processor is the ith processor within that col
Definition at line 128 of file CommGrid.cpp.
| int CommGrid::GetDiagOfProcRow |
( |
| ) |
|
Get the rank of the diagonal processor in that particular row In the ith processor row, the diagonal processor is the ith processor within that row
Definition at line 121 of file CommGrid.cpp.
| int CommGrid::GetDiagRank |
( |
| ) |
|
|
inline |
| int CommGrid::GetDiagSize |
( |
| ) |
|
|
inline |
| MPI_Comm& CommGrid::GetDiagWorld |
( |
| ) |
|
|
inline |
| MPI_Comm CommGrid::GetDiagWorld |
( |
| ) |
const |
|
inline |
| int CommGrid::GetGridCols |
( |
| ) |
|
|
inline |
| int CommGrid::GetGridRows |
( |
| ) |
|
|
inline |
| int CommGrid::GetRank |
( |
int |
rowrank, |
|
|
int |
colrank |
|
) |
| |
|
inline |
| int CommGrid::GetRank |
( |
int |
diagrank | ) |
|
|
inline |
| int CommGrid::GetRank |
( |
| ) |
|
|
inline |
| int CommGrid::GetRankInProcCol |
( |
| ) |
|
|
inline |
| int CommGrid::GetRankInProcCol |
( |
int |
wholerank | ) |
|
Return rank in the column world.
Definition at line 108 of file CommGrid.cpp.
| int CommGrid::GetRankInProcRow |
( |
| ) |
|
|
inline |
| int CommGrid::GetRankInProcRow |
( |
int |
wholerank | ) |
|
| MPI_Comm& CommGrid::GetRowWorld |
( |
| ) |
|
|
inline |
| MPI_Comm CommGrid::GetRowWorld |
( |
| ) |
const |
|
inline |
| int CommGrid::GetSize |
( |
| ) |
|
|
inline |
| MPI_Comm& CommGrid::GetWorld |
( |
| ) |
|
|
inline |
| MPI_Comm CommGrid::GetWorld |
( |
| ) |
const |
|
inline |
| bool CommGrid::OnSameProcCol |
( |
int |
rhsrank | ) |
|
| bool CommGrid::OnSameProcRow |
( |
int |
rhsrank | ) |
|
| void CommGrid::OpenDebugFile |
( |
string |
prefix, |
|
|
ofstream & |
output |
|
) |
| const |
| bool CommGrid::operator!= |
( |
const CommGrid & |
rhs | ) |
const |
|
inline |
| bool CommGrid::operator== |
( |
const CommGrid & |
rhs | ) |
const |
Friends And Related Function Documentation
The documentation for this class was generated from the following files: