Go to the source code of this file.
Original source file UPstreamReduce.C
Definition in file UPstreamReduce.C.
◆ Pstream_CommonReductions
#define Pstream_CommonReductions |
( |
|
Native | ) |
|
◆ Pstream_FloatReductions
#define Pstream_FloatReductions |
( |
|
Native | ) |
|
Value: \
( \
Native& value, \
label& count, \
const int tag, \
const label comm \
) \
{} \
\
( \
Native& value, \
const sumOp<Native>&, \
const int tag, \
const label comm, \
label& requestID \
) \
{} \
\
( \
const int size, \
const sumOp<Native>&, \
const int tag, \
const label comm, \
label& requestID \
) \
{}
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
void reduce(const List< UPstream::commsStruct > &comms, T &value, const BinaryOp &bop, const int tag, const label comm)
void sumReduce(T &value, label &count, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
Definition at line 114 of file UPstreamReduce.C.