CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   mapDistribute::distribute (http://www.cfd-online.com/Forums/openfoam-programming-development/87385-mapdistribute-distribute.html)

Fransje April 19, 2011 06:34

mapDistribute::distribute
 
Good afternoon Foamers!

After encountering a problem during a multi-processor run, I've been digging deeper in the multi-processor code to try and understand what was happening and what I could be doing wrong.

Along the way I encountered mapDistribute::distribute and I was wondering if some experienced mpp programmer could explain to me what exactly is happening in the code:

Code:

mapDistribute::distribute
(
    Pstream::defaultCommsType,
    distMap.schedule(),
    distMap.constructSize(),
    distMap.subMap(),
    distMap.constructMap(),
    allUValues
);

Is the variable allUValues being synchronized on all processors? Is it being reassembled on all processors? Or is something else happening?

Looking forward to your help and reply!

Kind regards,

Francois.


All times are GMT -4. The time now is 15:48.