FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

PstreamReduceOps.H File Reference


Detailed Description

Definition in file PstreamReduceOps.H.

#include "src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H"
#include "src/OpenFOAM/primitives/ops/ops.H"
Include dependency graph for PstreamReduceOps.H:

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)