From: YY Date: Sat, 3 Oct 2015 03:16:51 +0000 (-0500) Subject: About compute_mean_value X-Git-Tag: v8.4.0-rc2~343^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d47d45b919ba6f5edeecb40f4e6fe5ba7be60e8d;p=dealii.git About compute_mean_value 1/|\Omega| is missing, is it right? --- diff --git a/include/deal.II/numerics/vector_tools.h b/include/deal.II/numerics/vector_tools.h index 5385fbfd2e..db9f9fe235 100644 --- a/include/deal.II/numerics/vector_tools.h +++ b/include/deal.II/numerics/vector_tools.h @@ -2308,7 +2308,7 @@ namespace VectorTools * Compute the mean value of one component of the solution. * * This function integrates the chosen component over the whole domain and - * returns the result, i.e. it computes $\int_\Omega [u_h(x)]_c \; dx$ where + * returns the result, i.e. it computes $\frac{1}{|\Omega|}\int_\Omega [u_h(x)]_c \; dx$ where * $c$ is the vector component and $u_h$ is the function representation of * the nodal vector given as fourth argument. The integral is evaluated * numerically using the quadrature formula given as third argument.