waLBerla 7.3
Loading...
Searching...
No Matches
Gather.h File Reference

Detailed Description

#include "core/DataTypes.h"
#include "core/debug/Debug.h"
#include "core/mpi/MPIManager.h"
#include "core/mpi/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

template<typename T>
std::vector< T > walberla::mpi::gather (T value, int recvRank=0, MPI_Comm comm=MPI_COMM_WORLD)
 Gathers values from MPI processes and stores them into a std::vector.
template<typename T>
std::vector< T > walberla::mpi::allGather (T value, MPI_Comm comm=MPI_COMM_WORLD)
 Gathers values from MPI processes and stores them into a std::vector on all Processes.