CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

mapDistribute::distribute

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2011, 07:34
Default mapDistribute::distribute
  #1
Senior Member
 
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 21
Fransje will become famous soon enough
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.
Fransje is offline   Reply With Quote

Reply

Tags
directmappedpatchbase, directmappedvelocityflux, mapdistribute, pstream


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 19:13.