From c7457c054fb32d4772c21ec78967ca0e015ebc57 Mon Sep 17 00:00:00 2001 From: Moritz Allmaras Date: Fri, 12 Mar 2010 23:15:56 +0000 Subject: [PATCH] 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 --- deal.II/examples/step-16/Makefile | 2 +- deal.II/lac/include/lac/precondition.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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 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 -- 2.39.5