waLBerla 7.2
Loading...
Searching...
No Matches
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

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
 
namespace  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.