]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make clear() function public in derived classes for which this is sufficient.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Jun 2004 14:47:31 +0000 (14:47 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Jun 2004 14:47:31 +0000 (14:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@9420 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/petsc_block_sparse_matrix.h
deal.II/lac/include/lac/petsc_parallel_block_sparse_matrix.h

index f44484bd5b1778fc09e305b0f8c318bf451bb74b..5dbf1001c8c65521a78063f56dfa4d7c541b1f7e 100644 (file)
@@ -177,6 +177,13 @@ namespace PETScWrappers
                                         * the sub-objects.
                                         */
       void collect_sizes ();
+
+                                       /**
+                                        * Make the clear() function in the
+                                        * base class visible, though it is
+                                        * protected.
+                                        */
+      BlockMatrixBase<SparseMatrix>::clear;
       
                                        /**
                                         * Exception
index 3a8e520fce9c083abb98f7ee19fdbdbf00234a9c..07e04b29974261da99cc490ed8bb48ee7c0bd33f 100644 (file)
@@ -179,13 +179,20 @@ namespace PETScWrappers
                                           * the sub-objects.
                                           */
         void collect_sizes ();
-
+        
                                          /**
                                           * Return a reference to the MPI
                                           * communicator object in use with
                                           * this vector.
                                           */
         const MPI_Comm & get_mpi_communicator () const;
+
+                                         /**
+                                          * Make the clear() function in the
+                                          * base class visible, though it is
+                                          * protected.
+                                          */
+        BlockMatrixBase<SparseMatrix>::clear;
     };
 
 

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.