MPI tokenizing ensures that not more than N processes execute the same code portion simultaneously.
Usage:
tokenizing.pre();
criticalFunction();
tokenizing.post()
MPI tokenizing ensures that not more than N processes execute the same code portion simultaneously.
Definition Tokenizing.h:46
#include <Tokenizing.h>
◆ Tokenizing()
walberla::mpi::Tokenizing::Tokenizing |
( |
uint_t | nrOfTokens, |
|
|
MPI_Comm | comm = MPI_COMM_WORLD ) |
◆ post()
void walberla::mpi::Tokenizing::post |
( |
| ) |
const |
◆ pre()
void walberla::mpi::Tokenizing::pre |
( |
| ) |
const |
◆ communicator_
MPI_Comm walberla::mpi::Tokenizing::communicator_ |
|
protected |
◆ mpiTag
const int walberla::mpi::Tokenizing::mpiTag = 513 |
|
staticprotected |
◆ nrOfTokens_
uint_t walberla::mpi::Tokenizing::nrOfTokens_ |
|
protected |
The documentation for this class was generated from the following files:
- /builds/administration/walberla-website/walberla/src/core/mpi/Tokenizing.h
- /builds/administration/walberla-website/walberla/src/core/mpi/Tokenizing.cpp