From: wolf Date: Thu, 23 Dec 1999 11:10:17 +0000 (+0000) Subject: Externalize this function since it does not depend on the dimension X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbf5a795b9ffa35a7ef744f20503276f2a806317;p=dealii-svn.git Externalize this function since it does not depend on the dimension and therefore leads to problems when linking with libdeal_II_2d and libdeal_II_3d at the same time. git-svn-id: https://svn.dealii.org/trunk@2121 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/vectors.cc b/deal.II/deal.II/source/numerics/vectors.cc index b98221083d..31335b2def 100644 --- a/deal.II/deal.II/source/numerics/vectors.cc +++ b/deal.II/deal.II/source/numerics/vectors.cc @@ -951,31 +951,6 @@ VectorTools::integrate_difference (const DoFHandler &dof, -void -VectorTools::subtract_mean_value(Vector &v, - const vector &p_select) -{ - unsigned int n = v.size(); - Assert(n == p_select.size(), ExcDimensionMismatch(n, p_select.size())); - - double s = 0; - unsigned int counter = 0; - - for (unsigned int i=0; i