]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Reintroduce the old name CompressedBlockSparsityPattern as a deprecated typedef.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Jun 2007 09:32:23 +0000 (09:32 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Jun 2007 09:32:23 +0000 (09:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@14785 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/news/changes.html
deal.II/lac/include/lac/block_sparsity_pattern.h
deal.II/lac/include/lac/compressed_set_sparsity_pattern.h

index 8bae2db70647f0da909fbdb544c498d6658dca6f..cc516410f3fdd9703b80036a6e882715e1c5a8f0 100644 (file)
@@ -749,7 +749,8 @@ inconvenience this causes.
        class="class">CompressedBlockSparsityPattern</code> has been renamed to
        <code class="class">BlockCompressedSparsityPattern</code> to be
        consistent, since the "block" part builds on the "compressed sparsity
-       pattern", not the other way around.
+       pattern", not the other way around. The old name remains as a typedef,
+       but its use is deprecated.
        <br>
        (WB 2007/06/17)
        </p>
index 2f71b4e46dfbdc800dff79736e4ee0b2fbcf982a..dac172342e47c469a7969ac73f44bbb75bca107d 100644 (file)
@@ -627,6 +627,17 @@ class BlockCompressedSparsityPattern : public BlockSparsityPatternBase<Compresse
 };
 
 
+/**
+ * A typdef to preserve the old name CompressedBlockSparsityPattern even after
+ * we changed the naming of the class to BlockCompressedSparsityPattern. The
+ * old name is now deprecated and user codes should use the name
+ * BlockCompressedSparsityPattern instead.
+ *
+ * @deprecated
+ */
+typedef BlockCompressedSparsityPattern CompressedBlockSparsityPattern;
+
+
 
 /**
  * This class extends the base class to implement an array of compressed
index 90e71ff13c39d35bf7c87dba38601827f969c384..7b34e94a1a6d2cb67821ee5a4ed6723d33e20aab 100644 (file)
@@ -273,11 +273,16 @@ class CompressedSetSparsityPattern : public Subscriptor
     unsigned int row_length (const unsigned int row) const;
 
                                     /**
-                                     * Access to column number field.
-                                     * Return the column number of
-                                     * the @p indexth entry in @p row.
+                                     * Return an iterator that can loop over
+                                     * all entries in the given
+                                     * row. Dereferencing the iterator yields
+                                     * a column index.
                                      */
     row_iterator row_begin (const unsigned int row) const;
+
+                                    /**
+                                     * End iterator for the given row.
+                                     */
     row_iterator row_end (const unsigned int 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.