From 02f7ebb7c870544fa03c6317642512348090209c Mon Sep 17 00:00:00 2001 From: hartmann Date: Mon, 3 May 1999 10:54:38 +0000 Subject: [PATCH] derive the Sparsematrix and Sparsematrixstruct from Subsriptor git-svn-id: https://svn.dealii.org/trunk@1238 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index 268ab93e5a..3c215ec5c0 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -12,6 +12,8 @@ #include +#include +#include //forward declarations @@ -27,7 +29,7 @@ class ostream; @author Original version by Roland Becker, Guido Kanschat, Franz-Theo Suttmeier; lots of enhancements, reorganisation and documentation by Wolfgang Bangerth */ -class SparseMatrixStruct +class SparseMatrixStruct : public Subscriptor { public: /** @@ -422,7 +424,7 @@ CLASS @author Original version by Roland Becker, Guido Kanschat, Franz-Theo Suttmeier; lots of enhancements, reorganisation and documentation by Wolfgang Bangerth 1998 */ template -class SparseMatrix +class SparseMatrix : public Subscriptor { public: /** @@ -910,7 +912,7 @@ class SparseMatrix DeclException0 (ExcInvalidConstructorCall); private: - const SparseMatrixStruct * cols; + SmartPointer cols; number* val; unsigned int max_len; bool is_ilu; -- 2.39.5