65 #undef Pstream_CommonReductions 66 #define Pstream_CommonReductions(Native) \ 72 const minOp<Native>&, \ 82 const maxOp<Native>&, \ 92 const sumOp<Native>&, \ 101 const minOp<Native>&, \ 110 const maxOp<Native>&, \ 119 const sumOp<Native>&, \ 130 #undef Pstream_FloatReductions 131 #define Pstream_FloatReductions(Native) \ 133 Pstream_CommonReductions(Native); \ 139 const sumOp<Native>&, \ 149 const sumOp<Native>&, \ 156 void Foam::sumReduce \ 179 #undef Pstream_CommonReductions 180 #undef Pstream_FloatReductions Inter-processor communication reduction functions.
static void reduceOr(bool &value, const label communicator=worldComm)
Logical (or) reduction (cf. MPI AllReduce)
static void reduceAnd(bool &value, const label communicator=worldComm)
Logical (and) reduction (cf. MPI AllReduce)
#define Pstream_FloatReductions(Native)
void reduce(const List< UPstream::commsStruct > &comms, T &value, const BinaryOp &bop, const int tag, const label comm)
Reduce inplace (cf. MPI Allreduce) using specified communication schedule.
#define Pstream_CommonReductions(Native)