]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated function SparseMIC::reinit().
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 16 Feb 2015 16:55:21 +0000 (10:55 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 16 Feb 2015 16:55:21 +0000 (10:55 -0600)
doc/news/changes.h
include/deal.II/lac/sparse_mic.h
include/deal.II/lac/sparse_mic.templates.h

index 6d5228142b6ca5725b53c3f21e5ad5b04c573821..2e7a7f693ea376eb90d833dc9bf91ce27eef5dd4 100644 (file)
@@ -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.
index 50093282b73642b3559a5c1c03993a63e18bc75f..e273ddf69da47ff564bb1f79328edb91a5a54c3c 100644 (file)
@@ -76,12 +76,6 @@ public:
   typename SparseLUDecomposition<number>::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.
    *
index 3ed279ba20877ce376ade4c9fdd6d4b58af0d939..5113c2a65dce2a20a1954323813dc3f95cebdca0 100644 (file)
@@ -118,28 +118,6 @@ void SparseMIC<number>::initialize (const SparseMatrix<somenumber> &matrix,
 
 
 
-template <typename number>
-void SparseMIC<number>::reinit (const SparsityPattern &sparsity)
-{
-  {
-    std::vector<number> tmp;
-    tmp.swap (diag);
-  }
-  {
-    std::vector<number> tmp;
-    tmp.swap (inv_diag);
-  }
-  {
-    std::vector<number> tmp;
-    tmp.swap (inner_sums);
-  }
-
-  SparseMatrix<number>::reinit(sparsity);
-  this->decomposed = false;
-}
-
-
-
 template <typename number>
 inline number
 SparseMIC<number>::get_rowsum (const size_type row) const

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.