A datatype which stores a process grid and all its communicators.
More...
#include <ProcessGrid.h>
|
| ProcessGrid (MPI_Comm world_comm, int process_rows, int process_columns, int process_slices) |
|
| ProcessGrid (int process_rows, int process_columns, int process_slices) |
|
| ProcessGrid (MPI_Comm world_comm, int process_slices) |
|
| ProcessGrid (int process_slices) |
|
| ProcessGrid () |
| Construct the process grid with no parameters.
|
|
| ProcessGrid (const ProcessGrid &old_grid) |
|
int | GetMySlice () |
| Get the slice of the current process.
|
|
int | GetMyColumn () |
| Get the column of the current process.
|
|
int | GetMyRow () |
| Get the row of the current process.
|
|
int | GetNumSlices () |
| Get the number of slices in this grid.
|
|
int | GetNumColumns () |
| Get the number of columns in this grid.
|
|
int | GetNumRows () |
| Get the number of rows in this grid.
|
|
void | WriteInfo () |
| Write out some basic information about this process grid to the log.
|
|
| ~ProcessGrid () |
| Standard destructor.
|
|
A datatype which stores a process grid and all its communicators.
◆ ProcessGrid() [1/5]
NTPoly::ProcessGrid::ProcessGrid |
( |
MPI_Comm |
world_comm, |
|
|
int |
process_rows, |
|
|
int |
process_columns, |
|
|
int |
process_slices |
|
) |
| |
Construct the process grid.
- Parameters
-
[in] | world_comm | a communicator that every process in the grid is a part of. |
[in] | process_rows | number of grid rows. |
[in] | process_columns | number of grid columns. |
[in] | process_slices | number of grid slices. |
◆ ProcessGrid() [2/5]
NTPoly::ProcessGrid::ProcessGrid |
( |
int |
process_rows, |
|
|
int |
process_columns, |
|
|
int |
process_slices |
|
) |
| |
Construct the process grid from comm world
- Parameters
-
[in] | process_rows | number of grid rows. |
[in] | process_columns | number of grid columns. |
[in] | process_slices | number of grid slices. |
◆ ProcessGrid() [3/5]
NTPoly::ProcessGrid::ProcessGrid |
( |
MPI_Comm |
world_comm, |
|
|
int |
process_slices |
|
) |
| |
Construct the process grid.
- Parameters
-
[in] | world_comm | a communicator that every process in the grid is a part of. |
[in] | process_slices | number of grid slices. |
◆ ProcessGrid() [4/5]
NTPoly::ProcessGrid::ProcessGrid |
( |
int |
process_slices | ) |
|
Construct the process grid from comm world
- Parameters
-
[in] | process_slices | number of grid slices. |
◆ ProcessGrid() [5/5]
NTPoly::ProcessGrid::ProcessGrid |
( |
const ProcessGrid & |
old_grid | ) |
|
Copy constructor.
- Parameters
-
The documentation for this class was generated from the following files:
- /Users/wddawson/Desktop/NTPoly/Source/CPlusPlus/ProcessGrid.h
- /Users/wddawson/Desktop/NTPoly/Source/CPlusPlus/ProcessGrid.cc