]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fixes for some potential problems with system elements and
authorcvs <cvs@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 12 Oct 1999 17:25:52 +0000 (17:25 +0000)
committercvs <cvs@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 12 Oct 1999 17:25:52 +0000 (17:25 +0000)
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

deal.II/deal.II/include/numerics/vectors.h

index 3b9fd5bce2dbaba429d7b917f1722f63aa993fc8..0e798566d0443dc14526d34078f828227399d1fb 100644 (file)
@@ -10,8 +10,8 @@
 #include <base/exceptions.h>
 #include <basic/forward-declarations.h>
 #include <map>
+#include <vector>
 
-#include <bvector.h>
 
 /**
  *  Denote which norm/integral is to be computed. The following possibilities
@@ -252,7 +252,7 @@ enum NormType {
  * @author Wolfgang Bangerth, 1998
  */
 template <int dim>
-class VectorTools //<dim>
+class VectorTools
 {
   public:
                                     /**
@@ -482,12 +482,15 @@ class VectorTools //<dim>
                                      * 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<double>& v, const
-                                   bit_vector& p_select);
+    static void subtract_mean_value(Vector<double>     &v,
+                                   const vector<bool> &p_select);
     
 
                                     /**

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.