]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Wrong, subtract_mean_value was there, but in a different
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 6 Sep 2001 16:12:57 +0000 (16:12 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 6 Sep 2001 16:12:57 +0000 (16:12 +0000)
file. Reinstall the declaration.

git-svn-id: https://svn.dealii.org/trunk@4950 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 6e3cb7b0ed9fa6b2db0053487dd17b7f81e5117b..7b97842570966c1592973f690731e6a83f0a93d3 100644 (file)
@@ -712,6 +712,32 @@ class VectorTools
                                      const NormType        &norm,
                                      const Function<dim>   *weight=0);
 
+                                    /**
+                                     * Mean-value filter for Stokes.
+                                     * The pressure in Stokes'
+                                     * equations with only Dirichlet
+                                     * boundaries for the velocities
+                                     * is determined up to a constant
+                                     * only. This function allows to
+                                     * subtract the mean value of the
+                                     * pressure. It is usually called
+                                     * in a preconditioner and
+                                     * generates updates with mean
+                                     * value zero. The mean value is
+                                     * understood in the l1-sense.
+                                     *
+                                     * Apart from the vector @p{v} to
+                                     * 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.
+                                     */
+//TODO:[GK] Implementation of subtract_mean_value is missing.    
+    static void subtract_mean_value(Vector<double>          &v,
+                                   const std::vector<bool> &p_select);
+    
                                     /**
                                      * Compute the mean value of one
                                      * component of the solution.

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.