]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Undo last change. While technically correct and preventing an ICE in gcc CVS, it...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 21 Feb 2003 16:13:36 +0000 (16:13 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 21 Feb 2003 16:13:36 +0000 (16:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@7210 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe.cc

index 9b9b75104ed02a18c30f98765c22b4e00be69f86..d830740156f6a358a4ff027e8ee883892ccf9383 100644 (file)
@@ -405,11 +405,11 @@ FiniteElementBase<dim>::memory_consumption () const
 {
   return (sizeof(FiniteElementData<dim>) +
          MemoryConsumption::
-         memory_consumption<FullMatrix<double>,
-                             GeometryInfo<dim>::children_per_cell>(restriction)+
-         MemoryConsumption::
-          memory_consumption<FullMatrix<double>,
-                             GeometryInfo<dim>::children_per_cell>(prolongation) +
+         memory_consumption<FullMatrix<double>, sizeof(restriction)/sizeof(restriction[0])>
+         (restriction)+
+         MemoryConsumption::memory_consumption
+         <FullMatrix<double>, sizeof(prolongation)/sizeof(prolongation[0])>
+         (prolongation) +
          MemoryConsumption::memory_consumption (interface_constraints) +
          MemoryConsumption::memory_consumption (system_to_component_table) +
          MemoryConsumption::memory_consumption (face_system_to_component_table) +

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.