]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove preprocessor kludge.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Mar 2001 11:45:13 +0000 (11:45 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Mar 2001 11:45:13 +0000 (11:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@4353 0785d39b-7218-0410-832d-ea1e28bc413d

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

index afd4c35ad4262bf7a019af4ead415bce2b06180c..e827c31de3d023c34792dd73e4f60808001e6459 100644 (file)
@@ -48,13 +48,14 @@ FE_Q<dim>::FE_Q (const unsigned int degree)
   poly = new TensorProductPolynomials<dim> (v);
 
                                   // do some internal book-keeping
+                                  // for indices on the cell and on
+                                  // the faces. in 1d, the function
+                                  // for the latter is empty
   build_renumbering (*this, degree, renumber);
-//TODO:[WB] externalize this to a proper template function  
-#if deal_II_dimension > 1
   build_face_renumbering (FiniteElementData<dim-1>(FE_Q<dim-1>::get_dpo_vector(degree),1),
                          degree,
                          face_renumber);
-#endif
+
 
                                   // copy constraint matrices if they
                                   // are defined. otherwise set them

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.