]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Move the file to an .all_dimensions.cc file and always instantiate all templates...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 Nov 2006 06:04:28 +0000 (06:04 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 Nov 2006 06:04:28 +0000 (06:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@14214 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/hp_dof_objects.all_dimensions.cc [moved from deal.II/deal.II/source/dofs/hp_dof_objects.cc with 81% similarity]

similarity index 81%
rename from deal.II/deal.II/source/dofs/hp_dof_objects.cc
rename to deal.II/deal.II/source/dofs/hp_dof_objects.all_dimensions.cc
index 3fbbe635ebaef460e55beddf0c1262d5cad49066..2db13eb238275a1c8c87cd45c27705de4a5aa677 100644 (file)
 
 #include <base/memory_consumption.h>
 #include <dofs/hp_dof_objects.h>
-#include <dofs/hp_dof_levels.h>
-#include <dofs/hp_dof_handler.h>
 
 DEAL_II_NAMESPACE_OPEN
 
-//TODO: Several of the functions in this file are identical. some template trickery should make it possible to merge them
-
 namespace internal
 {
   namespace hp
@@ -40,24 +36,15 @@ namespace internal
     DoFObjects<1>::
     memory_consumption () const;
     
-#if deal_II_dimension >= 2
-
     template
     unsigned int
     DoFObjects<2>::
     memory_consumption () const;
     
-#endif
-    
-    
-#if deal_II_dimension >= 3
-
     template
     unsigned int
     DoFObjects<3>::
     memory_consumption () const;
-    
-#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.