|
waLBerla 7.2
|
#include "core/DataTypes.h"#include "core/debug/Debug.h"#include "core/math/Uint.h"#include "core/mpi/Datatype.h"#include "core/mpi/MPIOperation.h"#include "core/mpi/MPIWrapper.h"#include "core/mpi/Operation.h"#include "core/singleton/Singleton.h"#include <map>#include <typeindex>Classes | |
| class | walberla::mpi::MPIManager |
| Encapsulates MPI Rank/Communicator information. More... | |
Namespaces | |
| namespace | walberla |
| Storage for detected contacts which can be used to perform actions for all contacts, e.g. | |
| namespace | 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. | |
| #define | WALBERLA_EXCLUSIVE_WORLD_SECTION(exclusive_rank) if( ::walberla::MPIManager::instance()->worldRank() == (exclusive_rank) ) |
| Exclusive section using ranks w.r.t. | |
| #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 ) |