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

PstreamCombineReduceOps.H File Reference

Combination-Reduction operation for a parallel run. The information from all nodes is collected on the master node, combined using the given combination function and the result is broadcast to all nodes. More...


Detailed Description

Combination-Reduction operation for a parallel run. The information from all nodes is collected on the master node, combined using the given combination function and the result is broadcast to all nodes.

InClass Foam::Pstream

Definition in file PstreamCombineReduceOps.H.

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

Go to the source code of this file.

Namespaces

namespace  Foam
 

Namespace for OpenFOAM.


Functions

template<class T , class CombineOp >
void  combineReduce (const List< Pstream::commsStruct > &comms, T &Value, const CombineOp &cop)
template<class T , class CombineOp >
void  combineReduce (T &Value, const CombineOp &cop)