Dear Boyce,

On Wed, 14 Apr 2010, Boyce Griffith wrote:

> I think I'm starting to understand a little better how this works...
>
> If I collect the needed ghost DOFs and use
>
>    solution->localize(system->current_local_solution, my_ghost_dofs);
>
> it looks like only the requested ghost nodes are communicated.  Is that
> correct?  Or should I just stick with using
>
>    solution->localize(system->current_local_solution);

A lot of synchronization is done automatically, but I am not quite 
sure when.  As a hint, have a look at what System::update() does and 
where this is called.  I would not be surprised if you didn't have to 
care about this at all, but this depends of course on what you are 
doing exactly and also where you are doing that.  Also, I think that 
that worst thing that can happen is that you have to call 
System::update() manually at some point in your code.

Best Regards,

Tim

-- 
Dr. Tim Kroeger
[email protected]            Phone +49-421-218-7710
[email protected]            Fax   +49-421-218-4236
www.mevis.fraunhofer.de/~tim

Fraunhofer MEVIS, Institute for Medical Image Computing
Universitaetsallee 29, 28359 Bremen, Germany


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to