]> https://gitweb.dealii.org/ - dealii.git/commitdiff
derive MatrixFree from Subscriptor
authorDenis Davydov <davydden@gmail.com>
Mon, 17 Oct 2016 08:33:47 +0000 (10:33 +0200)
committerDenis Davydov <davydden@gmail.com>
Mon, 17 Oct 2016 08:33:47 +0000 (10:33 +0200)
include/deal.II/matrix_free/matrix_free.h
include/deal.II/matrix_free/matrix_free.templates.h

index 34c56a5c121fdcc7d70b701cf6f1f1a937668a5d..a925f95a44bd162a748760a8ba532cd206e770ae 100644 (file)
@@ -103,7 +103,7 @@ DEAL_II_NAMESPACE_OPEN
  */
 
 template <int dim, typename Number=double>
-class MatrixFree
+class MatrixFree : public Subscriptor
 {
 public:
 
index 1ef930c6c73cc62f865258e46c685d60a03f9430..dd4d8857f2ff3014cc72dd5d75deeecd69191f30 100644 (file)
@@ -38,6 +38,7 @@ DEAL_II_NAMESPACE_OPEN
 template <int dim, typename Number>
 MatrixFree<dim, Number>::MatrixFree()
   :
+  Subscriptor(),
   indices_are_initialized (false),
   mapping_is_initialized  (false)
 {}

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.