From: wolf Date: Fri, 13 Aug 2004 18:18:20 +0000 (+0000) Subject: Remove clear function from block vectors that didn't work anymore since the clear... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab960323de1f965c5e13ce6f3aee00601d60ef45;p=dealii-svn.git Remove clear function from block vectors that didn't work anymore since the clear function has been removed from the vector classes. git-svn-id: https://svn.dealii.org/trunk@9549 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/block_vector_base.h b/deal.II/lac/include/lac/block_vector_base.h index c50253448d..c0bd155af4 100644 --- a/deal.II/lac/include/lac/block_vector_base.h +++ b/deal.II/lac/include/lac/block_vector_base.h @@ -699,16 +699,6 @@ class BlockVectorBase */ void compress (); - /** - * Set all entries to zero. Equivalent to - * v=0, but more obvious and - * faster. Note that this function does - * not change the size of the vector, - * unlike the STL's - * vector<>::clear function. - */ - void clear (); - /** * Access to a single block. */ @@ -1671,18 +1661,6 @@ BlockVectorBase::compress () -template -inline -void -BlockVectorBase::clear () -{ - for (unsigned int i=0;i inline typename BlockVectorBase::iterator