]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove clear function from block vectors that didn't work anymore since the clear...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 13 Aug 2004 18:18:20 +0000 (18:18 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 13 Aug 2004 18:18:20 +0000 (18:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@9549 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/block_vector_base.h

index c50253448d6f1356aa4c5766f71f9dc83711860e..c0bd155af4313219af04459b11cd1e4d6b639b09 100644 (file)
@@ -699,16 +699,6 @@ class BlockVectorBase
                                       */
     void compress ();
 
-                                    /**
-                                     * Set all entries to zero. Equivalent to
-                                     * <tt>v=0</tt>, but more obvious and
-                                     * faster.  Note that this function does
-                                     * not change the size of the vector,
-                                     * unlike the STL's
-                                     * <tt>vector<>::clear</tt> function.
-                                     */
-    void clear ();
-
                                     /**
                                      * Access to a single block.
                                      */
@@ -1671,18 +1661,6 @@ BlockVectorBase<VectorType>::compress ()
 
 
 
-template <class VectorType>
-inline
-void
-BlockVectorBase<VectorType>::clear ()
-{
-  for (unsigned int i=0;i<n_blocks();++i)
-    components[i].clear();
-}
-
-
-
-
 template <class VectorType>
 inline
 typename BlockVectorBase<VectorType>::iterator

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.