]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make memory_consumption() more accurate.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 27 Dec 2008 05:09:24 +0000 (05:09 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 27 Dec 2008 05:09:24 +0000 (05:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@18013 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/hp/dof_handler.cc

index cfb0afbe10fd7d1e6f2aee521b979cceaed82179..1f673e7f000cd3098674e04464d5580494377d42 100644 (file)
@@ -2924,7 +2924,9 @@ namespace hp
                         MemoryConsumption::memory_consumption (levels) +
                         MemoryConsumption::memory_consumption (*faces) +
                         MemoryConsumption::memory_consumption (used_dofs) +
-                        MemoryConsumption::memory_consumption (vertex_dofs));
+                        MemoryConsumption::memory_consumption (vertex_dofs) +
+                        MemoryConsumption::memory_consumption (vertex_dofs_offsets) +
+                        MemoryConsumption::memory_consumption (has_children));
     for (unsigned int i=0; i<levels.size(); ++i)
       mem += MemoryConsumption::memory_consumption (*levels[i]);
     mem += MemoryConsumption::memory_consumption (*faces);

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.