#include "MPIWrapper.h"
#include "core/DataTypes.h"
#include "core/debug/Debug.h"
#include "core/math/Uint.h"
#include "core/singleton/Singleton.h"
Classes | |
class | walberla::mpi::MPIManager |
Encapsulates MPI Rank/Communicator information. More... | |
Namespaces | |
walberla | |
\file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede rik. henni g@fa u.de | |
walberla::mpi | |
Macros | |
#define | WALBERLA_ROOT_SECTION() if( ::walberla::MPIManager::instance()->worldRank() == 0 ) |
#define | WALBERLA_NON_ROOT_SECTION() if( ::walberla::MPIManager::instance()->worldRank() != 0 ) |
#define | WALBERLA_EXCLUSIVE_SECTION(exclusive_rank) if( ::walberla::MPIManager::instance()->rank() == (exclusive_rank) ) |
Exclusive section is only executed on the process with the given rank. More... | |
#define | WALBERLA_EXCLUSIVE_WORLD_SECTION(exclusive_rank) if( ::walberla::MPIManager::instance()->worldRank() == (exclusive_rank) ) |
Exclusive section using ranks w.r.t. More... | |
#define | WALBERLA_MPI_WORLD_BARRIER() {} |
#define | WALBERLA_MPI_BARRIER() {} |
#define | WALBERLA_CRITICAL_SECTION_START |
#define | WALBERLA_CRITICAL_SECTION_END |
#define WALBERLA_CRITICAL_SECTION_END |
#define WALBERLA_CRITICAL_SECTION_START |
#define WALBERLA_EXCLUSIVE_SECTION | ( | exclusive_rank | ) | if( ::walberla::MPIManager::instance()->rank() == (exclusive_rank) ) |
Exclusive section is only executed on the process with the given rank.
#define WALBERLA_EXCLUSIVE_WORLD_SECTION | ( | exclusive_rank | ) | if( ::walberla::MPIManager::instance()->worldRank() == (exclusive_rank) ) |
Exclusive section using ranks w.r.t.
MPI_COMM_WORLD.
#define WALBERLA_MPI_BARRIER | ( | ) | {} |
#define WALBERLA_MPI_WORLD_BARRIER | ( | ) | {} |
#define WALBERLA_NON_ROOT_SECTION | ( | ) | if( ::walberla::MPIManager::instance()->worldRank() != 0 ) |
#define WALBERLA_ROOT_SECTION | ( | ) | if( ::walberla::MPIManager::instance()->worldRank() == 0 ) |