]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
memory_consumption public
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Dec 2003 11:13:03 +0000 (11:13 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Dec 2003 11:13:03 +0000 (11:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@8249 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/vector_memory.h

index f0428f6a6478d0a979df3fd6af563c67e6bd5cae..f3bd1a81ab135899cf40b220e00c51e712f6bc48 100644 (file)
@@ -152,6 +152,13 @@ class GrowingVectorMemory : public VectorMemory<VECTOR>
                                      */
     virtual void free (const VECTOR * const);
 
+                                    /**
+                                     * Memory consumed by this class
+                                     * and all currently allocated
+                                     * vectors.
+                                     */
+    unsigned int memory_consumption() const;
+
   private:
                                     /**
                                      * Type to enter into the
@@ -171,13 +178,6 @@ class GrowingVectorMemory : public VectorMemory<VECTOR>
                                      * Overall number of allocations.
                                      */
     unsigned int n_alloc;
-
-                                    /**
-                                     * Memory consumed by this class
-                                     * and all currently allocated
-                                     * vectors.
-                                     */
-    unsigned int memory_consumption() const;
     
                                     /**
                                      * Mutex to synchronise access to

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.