]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Move functions into the right file
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 14 Jun 2006 01:57:30 +0000 (01:57 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 14 Jun 2006 01:57:30 +0000 (01:57 +0000)
git-svn-id: https://svn.dealii.org/trunk@13237 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_levels.all_dimensions.cc
deal.II/deal.II/source/dofs/dof_levels.cc

index d32bc708ac740fd315bf70a45ae923d15c15dac0..53a392dd300d15391b01c830af94b961bc43f8af 100644 (file)
@@ -28,38 +28,6 @@ namespace internal
       return MemoryConsumption::memory_consumption (cell_dof_indices_cache);
     }
 
-#if deal_II_dimension == 1
-
-    unsigned int
-    DoFLevel<1>::memory_consumption () const
-    {
-      return (DoFLevel<0>::memory_consumption () +
-              MemoryConsumption::memory_consumption (lines));
-    }
-
-#endif
-
-#if deal_II_dimension == 2
-    
-    unsigned int
-    DoFLevel<2>::memory_consumption () const
-    {
-      return (DoFLevel<0>::memory_consumption () +
-              MemoryConsumption::memory_consumption (quads));
-    }
-
-#endif
-
-#if deal_II_dimension == 3
-
-    unsigned int
-    DoFLevel<3>::memory_consumption () const
-    {
-      return (DoFLevel<0>::memory_consumption () +
-              MemoryConsumption::memory_consumption (hexes));
-    }
-
-#endif
   }
   
 }
index 55cc1d76e36e0df2e48cfe5bdb73be88f19894d2..9564d00d398b0194329085e9d4f2f75a7bea0616 100644 (file)
@@ -2,15 +2,46 @@
 
 #include <base/exceptions.h>
 #include <base/memory_consumption.h>
-#include <dofs/dof_objects.h>
-#include <dofs/dof_handler.h>
-#include <fe/fe.h>
+#include <dofs/dof_levels.h>
 
 
 namespace internal
 {
   namespace DoFHandler
   {
+
+#if deal_II_dimension == 1
+
+    unsigned int
+    DoFLevel<1>::memory_consumption () const
+    {
+      return (DoFLevel<0>::memory_consumption () +
+              MemoryConsumption::memory_consumption (lines));
+    }
+
+#endif
+
+#if deal_II_dimension == 2
+    
+    unsigned int
+    DoFLevel<2>::memory_consumption () const
+    {
+      return (DoFLevel<0>::memory_consumption () +
+              MemoryConsumption::memory_consumption (quads));
+    }
+
+#endif
+
+#if deal_II_dimension == 3
+
+    unsigned int
+    DoFLevel<3>::memory_consumption () const
+    {
+      return (DoFLevel<0>::memory_consumption () +
+              MemoryConsumption::memory_consumption (hexes));
+    }
+
+#endif
     
   }
   

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.