PstreamGatherList.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[UPstream::myProcNo(comm)]. 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...

Include dependency graph for PstreamGatherList.C:

Go to the source code of this file.

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[UPstream::myProcNo(comm)]. 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.

Original source file PstreamGatherList.C

Definition in file PstreamGatherList.C.