waLBerla 7.2
Loading...
Searching...
No Matches
Gatherv.cpp File Reference

Detailed Description

#include "Gatherv.h"
#include "Broadcast.h"
#include "BufferDataTypeExtensions.h"

Namespaces

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

Functions

template<>
std::vector< std::string > walberla::mpi::gatherv (const std::vector< std::string > &values, int recvRank, MPI_Comm comm)
 
template<>
std::vector< std::string > walberla::mpi::allGatherv (const std::vector< std::string > &values, MPI_Comm comm)
 
void walberla::mpi::gathervBuffer (const mpi::SendBuffer &sendBuffer, mpi::RecvBuffer &recvBuffer, int targetRank=0, MPI_Comm comm=MPI_COMM_WORLD)
 Gathers the buffer content on a single target process.
 
void walberla::mpi::allGathervBuffer (const mpi::SendBuffer &sendBuffer, mpi::RecvBuffer &recvBuffer, MPI_Comm comm=MPI_COMM_WORLD)
 Almost identical to mpi::gathervBuffer, the only difference: The result is stored on every process.