32 template<
class T,
class BinaryOp>
static int & msgType() noexcept
Message tag of standard messages.
virtual label comm() const =0
Return communicator used for parallel communication.
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.
void reduce(T &Value, const BinaryOp &bop) const
Helper: reduce with current communicator.