]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Derive PETScWrappers::PreconditionBase from Subscriptor 11959/head
authorPeter Munch <peterrmuench@gmail.com>
Wed, 24 Mar 2021 15:38:11 +0000 (16:38 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Wed, 24 Mar 2021 15:38:11 +0000 (16:38 +0100)
include/deal.II/lac/petsc_precondition.h

index c5a27bbc62a33aa7ddc70dfbda439a5e8c02c03f..6e4f36dc4ff4515e4fe859ba2617f384613071bd 100644 (file)
@@ -19,6 +19,8 @@
 
 #  include <deal.II/base/config.h>
 
+#  include <deal.II/base/subscriptor.h>
+
 #  ifdef DEAL_II_WITH_PETSC
 
 #    include <deal.II/lac/exceptions.h>
@@ -53,7 +55,7 @@ namespace PETScWrappers
    *
    * @ingroup PETScWrappers
    */
-  class PreconditionBase
+  class PreconditionBase : public Subscriptor
   {
   public:
     /**

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.