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

gatherScatterList.C File Reference

Gather data from all processors onto single processor according to some communication schedule (usually linear-to-master or tree-to-master). The gathered data will be a list with element procID the data from processor procID. Before calling every processor should insert its value into Values[Pstream::myProcNo()]. Note: after gather every processor only knows its own data and that of the processors below it. Only the 'master' of the communication schedule holds a fully filled List. Use scatter to distribute the data. More...


Detailed Description

Gather data from all processors onto single processor according to some communication schedule (usually linear-to-master or tree-to-master). The gathered data will be a list with element procID the data from processor procID. Before calling every processor should insert its value into Values[Pstream::myProcNo()]. Note: after gather every processor only knows its own data and that of the processors below it. Only the 'master' of the communication schedule holds a fully filled List. Use scatter to distribute the data.

Definition in file gatherScatterList.C.

#include "src/OpenFOAM/db/IOstreams/Pstreams/IPstream.H"
#include "src/OpenFOAM/db/IOstreams/Pstreams/OPstream.H"
#include "src/OpenFOAM/primitives/contiguous/contiguous.H"
Include dependency graph for gatherScatterList.C:

Go to the source code of this file.

Namespaces

namespace  Foam
 

Namespace for OpenFOAM.