Gatherv.h File Reference

Detailed Description

#include "Gather.h"
#include "MPIManager.h"
#include "MPIWrapper.h"
#include "SendBuffer.h"
#include "RecvBuffer.h"
#include "core/DataTypes.h"
#include "core/debug/Debug.h"
#include <string>
#include <vector>

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::mpi
 

Functions

template<typename T >
std::vector< T > walberla::mpi::gatherv (const std::vector< T > &values, int recvRank=0, MPI_Comm comm=MPI_COMM_WORLD)
 Gathers values from MPI processes and stores them into a std::vector. More...
 
template<>
std::vector< std::string > walberla::mpi::gatherv (const std::vector< std::string > &values, int recvRank, MPI_Comm comm)
 
template<typename T >
std::vector< T > walberla::mpi::allGatherv (const std::vector< T > &values, MPI_Comm comm=MPI_COMM_WORLD)
 Gathers values from MPI processes and stores them into a std::vector on all Processes. More...
 
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. More...
 
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. More...