]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix some more deprecation warnings.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 12 Feb 2013 10:40:51 +0000 (10:40 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 12 Feb 2013 10:40:51 +0000 (10:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@28322 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/sparse_ilu.templates.h
deal.II/include/deal.II/lac/sparse_mic.templates.h

index f80470bc3c58bc10892cc095947932928456f49c..c695e9face7be95b844faacb20a281a374fb0b9d 100644 (file)
@@ -30,9 +30,10 @@ SparseILU<number>::SparseILU ()
 
 
 template <typename number>
-SparseILU<number>::SparseILU (const SparsityPattern &sparsity) :
-  SparseLUDecomposition<number> (sparsity)
-{}
+SparseILU<number>::SparseILU (const SparsityPattern &sparsity)
+{
+  SparseMatrix<number>::reinit(sparsity);
+}
 
 
 
index 8e6fda5e0feb1d392614fb469a9ee2939e3218cb..bfb610dbd7391b27927d4de9e69db1371f1bc303 100644 (file)
@@ -31,11 +31,12 @@ SparseMIC<number>::SparseMIC ()
 template <typename number>
 SparseMIC<number>::SparseMIC (const SparsityPattern &sparsity)
   :
-  SparseLUDecomposition<number> (sparsity),
   diag(0),
   inv_diag(0),
   inner_sums(0)
-{}
+{
+  SparseMatrix<number>::reinit (sparsity);
+}
 
 
 template <typename number>
@@ -94,7 +95,8 @@ void SparseMIC<number>::reinit (const SparsityPattern &sparsity)
     tmp.swap (inner_sums);
   }
 
-  SparseLUDecomposition<number>::reinit (sparsity);
+  SparseMatrix<number>::reinit(sparsity);
+  this->decomposed = 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.