From: hartmann Date: Mon, 3 May 1999 10:54:38 +0000 (+0000) Subject: derive the Sparsematrix and Sparsematrixstruct from Subsriptor X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02f7ebb7c870544fa03c6317642512348090209c;p=dealii-svn.git derive the Sparsematrix and Sparsematrixstruct from Subsriptor git-svn-id: https://svn.dealii.org/trunk@1238 0785d39b-7218-0410-832d-ea1e28bc413d --- 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;