From 3faae5f9c34d7a4e1381ada1ea8134b140c46e0b Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 7 Aug 2016 20:38:03 +0200 Subject: [PATCH] Remove ununsed class BoundaryValuesForVelocity --- examples/step-56/step-56.cc | 32 -------------------------------- 1 file changed, 32 deletions(-) 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} -- 2.39.5