From: Daniel Arndt Date: Sun, 7 Aug 2016 18:38:03 +0000 (+0200) Subject: Remove ununsed class BoundaryValuesForVelocity X-Git-Tag: v8.5.0-rc1~795^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3faae5f9c34d7a4e1381ada1ea8134b140c46e0b;p=dealii.git Remove ununsed class BoundaryValuesForVelocity --- diff --git a/examples/step-56/step-56.cc b/examples/step-56/step-56.cc index f16cd6c523..6c35189d77 100644 --- a/examples/step-56/step-56.cc +++ b/examples/step-56/step-56.cc @@ -280,38 +280,6 @@ namespace Step56 return 0; } - // Sadly, we need a separate function for the boundary conditions - // to be used in the geometric multigrid. This is because it needs - // to be a function with $dim$ components, whereas Solution has - // $dim+1$ components. Rather than copying the implementation of - // Solution, we forward the calls to Solution::value. For that we need - // an instance of the class Solution, which you can find as a private - // member. - template - class BoundaryValuesForVelocity : public Function - { - public: - BoundaryValuesForVelocity () : Function(dim) {} - - virtual double value (const Point &p, - const unsigned int component = 0) const; - - private: - Solution solution; - }; - - - template - double - BoundaryValuesForVelocity::value (const Point &p, - const unsigned int component) const - { - Assert (component < this->n_components, - ExcIndexRange (component, 0, this->n_components)); - - return solution.value(p, component); - } - // @sect3{ASPECT BlockSchurPreconditioner}