From: wolf Date: Fri, 11 Jun 2004 14:47:31 +0000 (+0000) Subject: Make clear() function public in derived classes for which this is sufficient. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54c19ade9a3fb8015b4e2971939c6e88a775c1ba;p=dealii-svn.git Make clear() function public in derived classes for which this is sufficient. git-svn-id: https://svn.dealii.org/trunk@9420 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/petsc_block_sparse_matrix.h b/deal.II/lac/include/lac/petsc_block_sparse_matrix.h index f44484bd5b..5dbf1001c8 100644 --- a/deal.II/lac/include/lac/petsc_block_sparse_matrix.h +++ b/deal.II/lac/include/lac/petsc_block_sparse_matrix.h @@ -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::clear; /** * Exception diff --git a/deal.II/lac/include/lac/petsc_parallel_block_sparse_matrix.h b/deal.II/lac/include/lac/petsc_parallel_block_sparse_matrix.h index 3a8e520fce..07e04b2997 100644 --- a/deal.II/lac/include/lac/petsc_parallel_block_sparse_matrix.h +++ b/deal.II/lac/include/lac/petsc_parallel_block_sparse_matrix.h @@ -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::clear; };