#include <CommGrid.h>
Definition at line 44 of file CommGrid.h.
◆ CommGrid() [1/2]
combblas::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 37 of file CommGrid.cpp.
◆ ~CommGrid()
combblas::CommGrid::~CommGrid |
( |
| ) |
|
|
inline |
◆ CommGrid() [2/2]
combblas::CommGrid::CommGrid |
( |
const CommGrid & |
rhs | ) |
|
|
inline |
◆ CreateDiagWorld()
void combblas::CommGrid::CreateDiagWorld |
( |
| ) |
|
◆ GetColWorld() [1/2]
MPI_Comm& combblas::CommGrid::GetColWorld |
( |
| ) |
|
|
inline |
◆ GetColWorld() [2/2]
MPI_Comm combblas::CommGrid::GetColWorld |
( |
| ) |
const |
|
inline |
◆ GetComplementRank()
int combblas::CommGrid::GetComplementRank |
( |
| ) |
|
|
inline |
◆ GetDiagOfProcCol()
int combblas::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 134 of file CommGrid.cpp.
◆ GetDiagOfProcRow()
int combblas::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 127 of file CommGrid.cpp.
◆ GetDiagRank()
int combblas::CommGrid::GetDiagRank |
( |
| ) |
|
|
inline |
◆ GetDiagSize()
int combblas::CommGrid::GetDiagSize |
( |
| ) |
|
|
inline |
◆ GetDiagWorld() [1/2]
MPI_Comm& combblas::CommGrid::GetDiagWorld |
( |
| ) |
|
|
inline |
◆ GetDiagWorld() [2/2]
MPI_Comm combblas::CommGrid::GetDiagWorld |
( |
| ) |
const |
|
inline |
◆ GetGridCols()
int combblas::CommGrid::GetGridCols |
( |
| ) |
|
|
inline |
◆ GetGridRows()
int combblas::CommGrid::GetGridRows |
( |
| ) |
|
|
inline |
◆ GetRank() [1/3]
int combblas::CommGrid::GetRank |
( |
int |
rowrank, |
|
|
int |
colrank |
|
) |
| |
|
inline |
◆ GetRank() [2/3]
int combblas::CommGrid::GetRank |
( |
int |
diagrank | ) |
|
|
inline |
◆ GetRank() [3/3]
int combblas::CommGrid::GetRank |
( |
| ) |
|
|
inline |
◆ GetRankInProcCol() [1/2]
int combblas::CommGrid::GetRankInProcCol |
( |
| ) |
|
|
inline |
◆ GetRankInProcCol() [2/2]
int combblas::CommGrid::GetRankInProcCol |
( |
int |
wholerank | ) |
|
Return rank in the column world.
Definition at line 114 of file CommGrid.cpp.
◆ GetRankInProcRow() [1/2]
int combblas::CommGrid::GetRankInProcRow |
( |
| ) |
|
|
inline |
◆ GetRankInProcRow() [2/2]
int combblas::CommGrid::GetRankInProcRow |
( |
int |
wholerank | ) |
|
◆ GetRowWorld() [1/2]
MPI_Comm& combblas::CommGrid::GetRowWorld |
( |
| ) |
|
|
inline |
◆ GetRowWorld() [2/2]
MPI_Comm combblas::CommGrid::GetRowWorld |
( |
| ) |
const |
|
inline |
◆ GetSize()
int combblas::CommGrid::GetSize |
( |
| ) |
|
|
inline |
◆ GetWorld() [1/2]
MPI_Comm& combblas::CommGrid::GetWorld |
( |
| ) |
|
|
inline |
◆ GetWorld() [2/2]
MPI_Comm combblas::CommGrid::GetWorld |
( |
| ) |
const |
|
inline |
◆ OnSameProcCol()
bool combblas::CommGrid::OnSameProcCol |
( |
int |
rhsrank | ) |
|
◆ OnSameProcRow()
bool combblas::CommGrid::OnSameProcRow |
( |
int |
rhsrank | ) |
|
◆ OpenDebugFile()
void combblas::CommGrid::OpenDebugFile |
( |
std::string |
prefix, |
|
|
std::ofstream & |
output |
|
) |
| const |
◆ operator!=()
bool combblas::CommGrid::operator!= |
( |
const CommGrid & |
rhs | ) |
const |
|
inline |
◆ operator=()
◆ operator==()
bool combblas::CommGrid::operator== |
( |
const CommGrid & |
rhs | ) |
const |
◆ FullyDistSpVec
template<class IT , class NT >
◆ ProductGrid
std::shared_ptr<CommGrid> ProductGrid |
( |
CommGrid * |
gridA, |
|
|
CommGrid * |
gridB, |
|
|
int & |
innerdim, |
|
|
int & |
Aoffset, |
|
|
int & |
Boffset |
|
) |
| |
|
friend |
◆ SpParMat
template<class IT , class NT , class DER >
The documentation for this class was generated from the following files: