On 6/3/19 7:52 PM, llf m wrote:
> Sorry, I misused the Utilities::MPI::sum() function and thought it might not 
> work right at first.
> Now I use the Utilities::MPI::sum() function to sum up the energy in all 
> processors, is that right?

Yes -- each processor loops over its locally owned cells, and then you use the 
function above to sum up over all processors.

Best
  W.

-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                            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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/5c4014a5-caf0-0644-3f84-9e33b0f0c408%40colostate.edu.
For more options, visit https://groups.google.com/d/optout.

Reply via email to