#include <distntfmpicomm.hpp>
Definition at line 12 of file distntfmpicomm.hpp.
◆ NTFMPICommunicator()
planc::NTFMPICommunicator::NTFMPICommunicator |
( |
int |
argc, |
|
|
char * |
argv[], |
|
|
const UVEC & |
i_dims |
|
) |
| |
|
inline |
Constructor for setting up the nD grid communicators.
Definition at line 70 of file distntfmpicomm.hpp.
◆ ~NTFMPICommunicator()
planc::NTFMPICommunicator::~NTFMPICommunicator |
( |
| ) |
|
|
inline |
◆ cart_comm()
const MPI_Comm& planc::NTFMPICommunicator::cart_comm |
( |
| ) |
const |
|
inline |
◆ coordinates() [1/2]
void planc::NTFMPICommunicator::coordinates |
( |
int * |
o_c | ) |
const |
|
inline |
◆ coordinates() [2/2]
std::vector<int> planc::NTFMPICommunicator::coordinates |
( |
| ) |
const |
|
inline |
◆ fiber()
const MPI_Comm& planc::NTFMPICommunicator::fiber |
( |
const int |
i | ) |
const |
|
inline |
◆ fiber_rank()
int planc::NTFMPICommunicator::fiber_rank |
( |
int |
i | ) |
const |
|
inline |
◆ isparticipating()
bool planc::NTFMPICommunicator::isparticipating |
( |
unsigned int |
mode | ) |
|
|
inline |
Return true only for those processors whose coordinates are non-zero for the mode and zero non-modes.
Definition at line 182 of file distntfmpicomm.hpp.
◆ num_slices()
int planc::NTFMPICommunicator::num_slices |
( |
int |
mode | ) |
const |
|
inline |
◆ printConfig()
void planc::NTFMPICommunicator::printConfig |
( |
| ) |
|
|
inline |
◆ proc_grids()
UVEC planc::NTFMPICommunicator::proc_grids |
( |
| ) |
const |
|
inline |
Returns the process grid for which the communicators are setup.
Definition at line 170 of file distntfmpicomm.hpp.
◆ rank() [1/2]
int planc::NTFMPICommunicator::rank |
( |
const int * |
i_coords | ) |
const |
|
inline |
Returns the rank of current MPI process given the cartesian coordinates.
Definition at line 153 of file distntfmpicomm.hpp.
◆ rank() [2/2]
int planc::NTFMPICommunicator::rank |
( |
| ) |
const |
|
inline |
◆ size() [1/2]
int planc::NTFMPICommunicator::size |
( |
| ) |
const |
|
inline |
◆ size() [2/2]
int planc::NTFMPICommunicator::size |
( |
const int |
i_d | ) |
const |
|
inline |
◆ slice()
const MPI_Comm& planc::NTFMPICommunicator::slice |
( |
const int |
i | ) |
const |
|
inline |
◆ slice_num()
int planc::NTFMPICommunicator::slice_num |
( |
int |
mode | ) |
const |
|
inline |
◆ slice_rank()
int planc::NTFMPICommunicator::slice_rank |
( |
int |
i | ) |
const |
|
inline |
◆ slice_size()
int planc::NTFMPICommunicator::slice_size |
( |
int |
mode | ) |
const |
|
inline |
The documentation for this class was generated from the following file: