MPI tokenizing ensures that not more than N processes execute the same code portion simultaneously.
Usage:
#include <Tokenizing.h>
Public Member Functions | |
Tokenizing (uint_t nrOfTokens, MPI_Comm comm=MPI_COMM_WORLD) | |
void | pre () const |
void | post () const |
Protected Attributes | |
uint_t | nrOfTokens_ |
MPI_Comm | communicator_ |
Static Protected Attributes | |
static const int | mpiTag = 513 |
walberla::mpi::Tokenizing::Tokenizing | ( | uint_t | nrOfTokens, |
MPI_Comm | comm = MPI_COMM_WORLD |
||
) |
void walberla::mpi::Tokenizing::post | ( | ) | const |
void walberla::mpi::Tokenizing::pre | ( | ) | const |
|
protected |
|
staticprotected |
|
protected |