> I am trying to compute an integral based on a PDE solution (e.g. \int u
> dx where u is the solution of the Poission equation) on a cluster. I was
> looking at the WorkStream class in example 32 but am still not sure how
> to calculate the integral value. Your help will be much appreciated.

What you need to do is let each MPI process on your cluster compute its own 
contribution to this integral and then form the sum over all compute nodes. 
In the current version of step-32 on the web at
  
http://www.dealii.org/developer/doxygen/deal.II/step_32.html#BoussinesqFlowProblemoutput_results

there is some debug output that computes the norm of the divergence (search 
for the text "calculate l2 norm of divergence") that shows how you can do 
this in parallel.

Best
 W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to