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...

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< UPstream::commsStruct > &comms, T &value, const CombineOp &cop, const int tag, const label comm)
 
template<class T , class CombineOp >
void combineReduce (T &value, const CombineOp &cop, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
 

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.

Original source file PstreamCombineReduceOps.H

InClass Foam

Definition in file PstreamCombineReduceOps.H.