]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Added trivial clear() function to PreconditionRichardson to allow its use as MG smoot...
authorallmaras <allmaras@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 12 Mar 2010 23:15:56 +0000 (23:15 +0000)
committerallmaras <allmaras@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 12 Mar 2010 23:15:56 +0000 (23:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@20819 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-16/Makefile
deal.II/lac/include/lac/precondition.h

index 8486b39695ce255dfa8e02ba36b9e1455c664c6a..bf7fc44688c9379924bfbe0ff5229f76a0ca99b2 100644 (file)
@@ -29,7 +29,7 @@ D = ../../
 # shall be deleted when calling `make clean'. Object and backup files,
 # executables and the like are removed anyway. Here, we give a list of
 # files in the various output formats that deal.II supports.
-clean-up-files = *gmv *gnuplot *gpl *eps *pov
+clean-up-files = *gmv *gnuplot *gpl *eps *pov *vtk
 
 
 
index e61b60a28c54cad8627ebdd93158b3ab4c4501c9..62e532ad5ecc97dc32be787d9a64ad3f08f4a426 100644 (file)
@@ -218,6 +218,16 @@ class PreconditionRichardson : public Subscriptor
     template<class VECTOR>
     void Tvmult_add (VECTOR&, const VECTOR&) const;
 
+                                    /**
+                                     * This function is only 
+                                     * present to 
+                                     * provide the interface of
+                                     * a precondtioner to be 
+                                     * handed to a smoother.
+                                     * This does nothing.
+                                     */
+    void clear (){}
+
   private:
                                     /**
                                      * The relaxation parameter

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.