]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove a comment since for this finite element, there is nothing we need to do as...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Feb 2007 05:55:03 +0000 (05:55 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Feb 2007 05:55:03 +0000 (05:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@14437 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 3267059c475fd11f631287dd65fd7b3210467629..b2d0aa8cfa3a6a1099e81fb8ffa92def905bd897 100644 (file)
@@ -24,9 +24,6 @@
 
 #include <sstream>
 
-//TODO: implement the adjust_quad_dof_index_for_face_orientation_table field,
-//and write a test similar to bits/face_orientation_and_fe_q_01
-
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -61,6 +58,22 @@ FE_Nedelec<dim>::FE_Nedelec (const unsigned int degree)
                                   // on cell and face
   initialize_unit_support_points ();
   initialize_unit_face_support_points ();
+
+                                  // finite element classes need to
+                                  // initialize the
+                                  // adjust_quad_dof_index... table. however,
+                                  // for the current element, there are no
+                                  // dofs on quads in 3d (i.e. in the
+                                  // interior of a face), so there is nothing
+                                  // to do
+  if (dim == 3)
+    {
+      Assert (this->dofs_per_quad == 0,
+             ExcInternalError());
+      Assert (adjust_quad_dof_index_for_face_orientation_table.size()==
+             this->dofs_per_quad,
+             ExcInternalError());
+    }
 }
 
 

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.