From: Wolfgang Bangerth Date: Mon, 16 Feb 2015 16:55:21 +0000 (-0600) Subject: Remove deprecated function SparseMIC::reinit(). X-Git-Tag: v8.3.0-rc1~455^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f03da97061c426c74c9e998b0dd3aed6e93ffc15;p=dealii.git Remove deprecated function SparseMIC::reinit(). --- diff --git a/doc/news/changes.h b/doc/news/changes.h index 6d5228142b..2e7a7f693e 100644 --- a/doc/news/changes.h +++ b/doc/news/changes.h @@ -162,6 +162,7 @@ inconvenience this causes. - SparseILU::apply_decomposition. - The deprecated constructor of SparseMIC. - SparseMIC::decompose and SparseILU::decompose. + - SparseMIC::reinit. - The compress() functions without argument in the various vector classes. You should use the versions with a VectorOperation argument instead. diff --git a/include/deal.II/lac/sparse_mic.h b/include/deal.II/lac/sparse_mic.h index 50093282b7..e273ddf69d 100644 --- a/include/deal.II/lac/sparse_mic.h +++ b/include/deal.II/lac/sparse_mic.h @@ -76,12 +76,6 @@ public: typename SparseLUDecomposition::AdditionalData AdditionalData; - /** - * @deprecated This method is deprecated, and left for backward - * compatibility. It will be removed in later versions. - */ - void reinit (const SparsityPattern &sparsity) DEAL_II_DEPRECATED; - /** * Perform the incomplete LU factorization of the given matrix. * diff --git a/include/deal.II/lac/sparse_mic.templates.h b/include/deal.II/lac/sparse_mic.templates.h index 3ed279ba20..5113c2a65d 100644 --- a/include/deal.II/lac/sparse_mic.templates.h +++ b/include/deal.II/lac/sparse_mic.templates.h @@ -118,28 +118,6 @@ void SparseMIC::initialize (const SparseMatrix &matrix, -template -void SparseMIC::reinit (const SparsityPattern &sparsity) -{ - { - std::vector tmp; - tmp.swap (diag); - } - { - std::vector tmp; - tmp.swap (inv_diag); - } - { - std::vector tmp; - tmp.swap (inner_sums); - } - - SparseMatrix::reinit(sparsity); - this->decomposed = false; -} - - - template inline number SparseMIC::get_rowsum (const size_type row) const