On 3/3/19 12:27 PM, Jean Ragusa wrote:
> 
> As Wolfgang stated, copying the vector that contains ghosted values (relevant 
> dofs) into a completely distributed vector allows you to use l2_norm() on 
> it.What I didn't realize is that the l2_norm() on a distributed vector calls 
> the MPI_Allreduce behind the scene and thus no additional action is needed 
> when writing your own code.

That is correct. If you think this is not obvious in the documentation, can 
you point out where you looked? It's something easily fixed. (Want to write 
your first pull request? ;-) )

Cheers
  W.


-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                            www: http://www.math.colostate.edu/~bangerth/

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to