FreeFOAM The Cross-Platform CFD Toolkit
PstreamReduceOps.H File Reference

Detailed Description

Definition in file PstreamReduceOps.H.

+ Include dependency graph for PstreamReduceOps.H:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Functions

template<class T , class BinaryOp >
void reduce (const List< Pstream::commsStruct > &comms, T &Value, const BinaryOp &bop)
template<class T , class BinaryOp >
void reduce (T &Value, const BinaryOp &bop)
template<class T , class BinaryOp >
T returnReduce (const T &Value, const BinaryOp &bop)
void reduce (scalar &Value, const sumOp< scalar > &bop)