On Thu, Jan 26, 2012 at 13:06, Vetter Roman <[email protected]> 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. > > In case you're wondering: I can't fill v with the desired reciprocal > values in the first place, because the entries to be inverted are sums of > element contributions. > PETSc's VecReciprocal() does this, but it is not wrapped by Libmesh. ------------------------------------------------------------------------------ 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
