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

mapDistribute::distribute

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 19, 2011, 06:34
Default mapDistribute::distribute
  #1
Senior Member
 
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 8
Fransje is on a distinguished road
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:24.