]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Include some dof accessor functions unconditionally where they were only included...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 4 Jul 2001 12:10:45 +0000 (12:10 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 4 Jul 2001 12:10:45 +0000 (12:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@4810 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_accessor.h

index 34f48d9e673b11188978a67800a9fcf9c339ec02..3adf013f7a04cb71a262a3dcb9714ea333bfea1b 100644 (file)
@@ -23,10 +23,9 @@ template <typename number> class Vector;
 
 template <int dim> class DoFHandler;
 
-// note: in non-debug mode, i.e. with optimizations, the file
-// dof_accessor.templates.h is included at the end of this file.
-// this includes a lot of templates and thus makes compilation
-// slower, but at the same time allows for more aggressive
+// note: the file dof_accessor.templates.h is included at the end of
+// this file.  this includes a lot of templates and thus makes
+// compilation slower, but at the same time allows for more aggressive
 // inlining and thus faster code.
 
 
@@ -1262,10 +1261,8 @@ template <> TriaIterator<2, DoFObjectAccessor<1,2> > DoFCellAccessor<2>::face (c
 template <> TriaIterator<3, DoFObjectAccessor<2,3> > DoFCellAccessor<3>::face (const unsigned int i) const;
 
 
-// if in optimized mode: include more templates
-#ifndef DEBUG
-#  include "dof_accessor.templates.h"
-#endif
+// include more templates
+#include "dof_accessor.templates.h"
 
 
 /*----------------------------   dof_iterator.h     ---------------------------*/

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.