From: kanschat Date: Mon, 23 May 2011 03:12:07 +0000 (+0000) Subject: add missing virtual function X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=350162c7caf5324492d63c6722fa2d2556f97ced;p=dealii-svn.git add missing virtual function git-svn-id: https://svn.dealii.org/trunk@23737 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/multigrid/mg_smoother.h b/deal.II/include/deal.II/multigrid/mg_smoother.h index 98e4317fa7..2a8646208c 100644 --- a/deal.II/include/deal.II/multigrid/mg_smoother.h +++ b/deal.II/include/deal.II/multigrid/mg_smoother.h @@ -280,6 +280,11 @@ class SmootherRelaxation : public MGLevelObject, public MGSmoother >& matrices, // const typename RELAX::AdditionalData & additional_data = typename RELAX::AdditionalData()); + /** + * Empty all vectors. + */ + void clear (); + /** * The actual smoothing method. */ @@ -749,6 +754,14 @@ namespace mg {} + template + inline void + SmootherRelaxation::clear () + { + MGLevelObject::clear(); + } + + template template inline void