38#ifndef Foam_PstreamCombineReduceOps_H
39#define Foam_PstreamCombineReduceOps_H
51template<
class T,
class CombineOp>
65template<
class T,
class CombineOp>
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static void combineAllGather(const List< commsStruct > &comms, T &value, const CombineOp &cop, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
static int & msgType() noexcept
Message tag of standard messages.
static label worldComm
Default communicator (all processors)
void combineReduce(const List< UPstream::commsStruct > &comms, T &value, const CombineOp &cop, const int tag, const label comm)
Various functors for unary and binary operations. Can be used for parallel combine-reduce operations ...