waLBerla 7.2
Loading...
Searching...
No Matches
MPIHelper.h File Reference

Detailed Description

#include "MPIWrapper.h"
#include <vector>

Namespaces

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
 
namespace  walberla::mpi
 

Functions

int walberla::mpi::translateRank (const MPI_Comm srcComm, const MPI_Comm destComm, const int srcRank)
 This functions maps the rank in one communicator to the rank in another communicator.
 
std::vector< int > walberla::mpi::translateRank (const MPI_Comm srcComm, const MPI_Comm destComm, const std::vector< int > &srcRank)
 This functions converts a array of ranks in one communicator to an array of ranks in another communicator.