Inter-processor communication reduction functions. More...
Go to the source code of this file.
Namespaces | |
Foam | |
Namespace for OpenFOAM. | |
Functions | |
template<class T , class BinaryOp > | |
void | reduce (const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm) |
template<class T , class BinaryOp > | |
void | reduce (T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm) |
template<class T , class BinaryOp > | |
T | returnReduce (const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm) |
template<class T > | |
void | sumReduce (T &Value, label &Count, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm) |
template<class T , class BinaryOp > | |
void | reduce (T &Value, const BinaryOp &bop, const int tag, const label comm, label &request) |
void | reduce (scalar &Value, const sumOp< scalar > &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm) |
void | reduce (scalar &Value, const minOp< scalar > &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm) |
void | reduce (vector2D &Value, const sumOp< vector2D > &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm) |
void | sumReduce (scalar &Value, label &Count, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm) |
void | reduce (scalar &Value, const sumOp< scalar > &bop, const int tag, const label comm, label &request) |
Inter-processor communication reduction functions.
Original source file PstreamReduceOps.H
InNamespace Foam
Definition in file PstreamReduceOps.H.