On Thu, 26 Jan 2012, Vetter Roman wrote:

> how would I compute the element-wise reciprocal of a ghosted
> NumericVector in parallel? While I can just iterate through all
> entries i and do v.set(i, 1/v(i)) in serial mode, the solution in
> parallel with ghosts is not at all obvious to me.

If you don't mind a little inter-node chatter, I'd just loop over
local DoFs, and then sync up the ghost DoFs.
---
Roy

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to