From: cvs Date: Tue, 12 Oct 1999 17:25:52 +0000 (+0000) Subject: Fixes for some potential problems with system elements and X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9e23b6e4b203ce5e3d8df05eeef41aca680f1c3;p=dealii-svn.git Fixes for some potential problems with system elements and the existing functions in this file which were written with simple elements in mind. git-svn-id: https://svn.dealii.org/trunk@1764 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/numerics/vectors.h b/deal.II/deal.II/include/numerics/vectors.h index 3b9fd5bce2..0e798566d0 100644 --- a/deal.II/deal.II/include/numerics/vectors.h +++ b/deal.II/deal.II/include/numerics/vectors.h @@ -10,8 +10,8 @@ #include #include #include +#include -#include /** * Denote which norm/integral is to be computed. The following possibilities @@ -252,7 +252,7 @@ enum NormType { * @author Wolfgang Bangerth, 1998 */ template -class VectorTools // +class VectorTools { public: /** @@ -482,12 +482,15 @@ class VectorTools // * updates with mean value zero. * * Apart from the vector #v# to - * operate on, this function takes - * a bit vector. This has a true - * entry for every pressure component. + * operate on, this function + * takes a bit vector. This has a + * true entry for every component + * for which the mean value shall + * be computed and later + * subtracted. */ - static void subtract_mean_value(Vector& v, const - bit_vector& p_select); + static void subtract_mean_value(Vector &v, + const vector &p_select); /**