From: wolf Date: Thu, 6 Sep 2001 16:12:57 +0000 (+0000) Subject: Wrong, subtract_mean_value was there, but in a different X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13776eaeb6291992c776686046e78ef000c36640;p=dealii-svn.git Wrong, subtract_mean_value was there, but in a different file. Reinstall the declaration. git-svn-id: https://svn.dealii.org/trunk@4950 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 6e3cb7b0ed..7b97842570 100644 --- a/deal.II/deal.II/include/numerics/vectors.h +++ b/deal.II/deal.II/include/numerics/vectors.h @@ -712,6 +712,32 @@ class VectorTools const NormType &norm, const Function *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 &v, + const std::vector &p_select); + /** * Compute the mean value of one * component of the solution.