From f03da97061c426c74c9e998b0dd3aed6e93ffc15 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 16 Feb 2015 10:55:21 -0600 Subject: [PATCH] Remove deprecated function SparseMIC::reinit(). --- doc/news/changes.h | 1 + include/deal.II/lac/sparse_mic.h | 6 ------ include/deal.II/lac/sparse_mic.templates.h | 22 ---------------------- 3 files changed, 1 insertion(+), 28 deletions(-) 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 -- 2.39.5