]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
add missing virtual function
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 23 May 2011 03:12:07 +0000 (03:12 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 23 May 2011 03:12:07 +0000 (03:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@23737 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/multigrid/mg_smoother.h

index 98e4317fa7065e08b3954daeed21dfa9cdc75d47..2a8646208c465b82ec9287f62bcd80c46d1be3a4 100644 (file)
@@ -280,6 +280,11 @@ class SmootherRelaxation : public MGLevelObject<RELAX>, public MGSmoother<VECTOR
 //     void initialize (const MGLevelObject<MatrixBlock<MATRIX2> >& 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 <class RELAX, class VECTOR>
+  inline void
+  SmootherRelaxation<RELAX, VECTOR>::clear ()
+  {
+    MGLevelObject<RELAX>::clear();
+  }
+  
+  
   template <class RELAX, class VECTOR>
   template <class MATRIX2>
   inline void

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.