]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Undo Ralf's last change to this file since it breaks existing code doing csp.reinit...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 18 Aug 2007 02:34:17 +0000 (02:34 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 18 Aug 2007 02:34:17 +0000 (02:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@14974 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/block_sparsity_pattern.h

index f8b1a4d9c5fa6352956570ac61b074716204a550..5da1bc75e2d0a5568090547f09c8e5ab23ab1959 100644 (file)
@@ -617,6 +617,13 @@ class BlockCompressedSparsityPattern : public BlockSparsityPatternBase<Compresse
                                      */
     void reinit (const std::vector< unsigned int > &row_block_sizes,
                 const std::vector< unsigned int > &col_block_sizes);
+
+                                    /**
+                                     * Allow the use of the reinit
+                                     * functions of the base class as
+                                     * well.
+                                     */
+    BlockSparsityPatternBase<CompressedSparsityPattern>::reinit;
 };
 
 
@@ -702,6 +709,13 @@ class BlockCompressedSetSparsityPattern : public BlockSparsityPatternBase<Compre
                                      */
     void reinit (const std::vector< unsigned int > &row_block_sizes,
                 const std::vector< unsigned int > &col_block_sizes);
+
+                                    /**
+                                     * Allow the use of the reinit
+                                     * functions of the base class as
+                                     * well.
+                                     */
+    BlockSparsityPatternBase<CompressedSetSparsityPattern>::reinit;
 };
 
 

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.