From: allmaras <allmaras@0785d39b-7218-0410-832d-ea1e28bc413d>
Date: Fri, 12 Mar 2010 23:15:56 +0000 (+0000)
Subject: Added trivial clear() function to PreconditionRichardson to allow its use as MG smoot... 
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc4c01c78f27b88a84c02c2257da5fd9c3802877;p=dealii-svn.git

Added trivial clear() function to PreconditionRichardson to allow its use as MG smoother. Added *.vtk to clean files in step-16.

git-svn-id: https://svn.dealii.org/trunk@20819 0785d39b-7218-0410-832d-ea1e28bc413d
---

diff --git a/deal.II/examples/step-16/Makefile b/deal.II/examples/step-16/Makefile
index 8486b39695..bf7fc44688 100644
--- a/deal.II/examples/step-16/Makefile
+++ b/deal.II/examples/step-16/Makefile
@@ -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
 
 
 
diff --git a/deal.II/lac/include/lac/precondition.h b/deal.II/lac/include/lac/precondition.h
index e61b60a28c..62e532ad5e 100644
--- a/deal.II/lac/include/lac/precondition.h
+++ b/deal.II/lac/include/lac/precondition.h
@@ -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