]> https://gitweb.dealii.org/ - dealii.git/commitdiff
clear() added to base class
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 18 Nov 2005 20:59:13 +0000 (20:59 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 18 Nov 2005 20:59:13 +0000 (20:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@11772 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/mg_base.h

index 2506f61bb64a2e8624d4eb37b9cc72d67dfab402..c6366cd46e1326f043ec849660ea50fd75e91889 100644 (file)
@@ -212,11 +212,15 @@ template <class VECTOR>
 class MGSmootherBase : public Subscriptor
 {
   public:
-                                  /**
-                                   * Virtual destructor.
-                                   */
-  virtual ~MGSmootherBase();
-
+                                    /**
+                                     * Virtual destructor.
+                                     */
+    virtual ~MGSmootherBase();
+                                    /**
+                                     * Release matrices.
+                                     */
+    virtual void clear() = 0;
+    
                                   /**
                                    * Smoothing function. This is the
                                    * function used in multigrid

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.