]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated constructors of SparsityPattern iterators.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 23 Jan 2015 13:06:06 +0000 (07:06 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 24 Jan 2015 04:46:46 +0000 (22:46 -0600)
doc/news/changes.h
include/deal.II/lac/sparsity_pattern.h

index 0870c44673df5a6c8f14b4aabe111a5e76bca348..ae383178feaa8b7ec5d2784529d59c893f48a615 100644 (file)
@@ -154,6 +154,7 @@ inconvenience this causes.
     <code>optimize_diagonal</code> argument.
   - Mapping::transform_covariant and Mapping::transform_contravariant.
   - The typedef CompressedBlockSparsityPattern.
+  - The deprecated constructors of SparsityPattern iterator classes.
   <br>
   This release also removes the deprecated class MGDoFHandler. The
   functionality of this class had previously been incorporated into
index a528322d6bfbd2d90a08f6667c5257c6f79d0c1d..f271684eed097588ef34f0934c09c26d57e4b5ce 100644 (file)
@@ -119,16 +119,6 @@ namespace SparsityPatternIterators
   class Accessor
   {
   public:
-    /**
-     * Constructor.
-     *
-     * @deprecated This constructor is deprecated. Use the other constructor
-     * with a global index instead.
-     */
-    Accessor (const SparsityPattern *matrix,
-              const size_type        row,
-              const size_type        index) DEAL_II_DEPRECATED;
-
     /**
      * Constructor.
      */
@@ -244,17 +234,6 @@ namespace SparsityPatternIterators
   class Iterator
   {
   public:
-    /**
-     * Constructor. Create an iterator into the sparsity pattern @p sp for the
-     * given row and the index within it.
-     *
-     * @deprecated This constructor is deprecated. Use the other constructor
-     * with a global index instead.
-     */
-    Iterator (const SparsityPattern *sp,
-              const size_type        row,
-              const size_type        index) DEAL_II_DEPRECATED;
-
     /**
      * Constructor. Create an iterator into the sparsity pattern @p sp for the
      * given global index (i.e., the index of the given element counting from
@@ -1248,17 +1227,6 @@ private:
 
 namespace SparsityPatternIterators
 {
-  inline
-  Accessor::
-  Accessor (const SparsityPattern *sparsity_pattern,
-            const size_type        r,
-            const size_type        i)
-    :
-    sparsity_pattern(sparsity_pattern),
-    index_within_sparsity(sparsity_pattern->rowstart[r]+i)
-  {}
-
-
   inline
   Accessor::
   Accessor (const SparsityPattern *sparsity_pattern,
@@ -1357,16 +1325,6 @@ namespace SparsityPatternIterators
 
 
 
-  inline
-  Iterator::Iterator (const SparsityPattern *sparsity_pattern,
-                      const size_type        r,
-                      const size_type        i)
-    :
-    accessor(sparsity_pattern, sparsity_pattern->rowstart[r]+i)
-  {}
-
-
-
   inline
   Iterator::Iterator (const SparsityPattern *sparsity_pattern,
                       const std::size_t      i)

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.