SetReduction.h File Reference

Detailed Description

#include <vector>
#include <algorithm>
#include "core/debug/Debug.h"
#include "core/math/Uint.h"
#include "core/mpi/MPIWrapper.h"
#include "core/mpi/SendBuffer.h"
#include "core/mpi/RecvBuffer.h"
#include "core/mpi/BufferDataTypeExtensions.h"

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
 

Enumerations

enum  walberla::mpi::SetOperation { walberla::mpi::INTERSECTION, walberla::mpi::UNION }
 

Functions

template<typename T >
std::vector< T > walberla::mpi::allReduceSet (std::vector< T > values, SetOperation op, MPI_Comm mpiCommunicator=MPI_COMM_WORLD, int mpiTag=0)
 Reduces a set of values on all processes without using global mpi communication. More...