From: bangerth Date: Fri, 9 Feb 2007 05:55:03 +0000 (+0000) Subject: Remove a comment since for this finite element, there is nothing we need to do as... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a448f59a941d79c1963dc1f8a68702f60c4533b9;p=dealii-svn.git Remove a comment since for this finite element, there is nothing we need to do as far as adjusting quad dof indices are concerned. git-svn-id: https://svn.dealii.org/trunk@14437 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_nedelec.cc b/deal.II/deal.II/source/fe/fe_nedelec.cc index 3267059c47..b2d0aa8cfa 100644 --- a/deal.II/deal.II/source/fe/fe_nedelec.cc +++ b/deal.II/deal.II/source/fe/fe_nedelec.cc @@ -24,9 +24,6 @@ #include -//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::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()); + } }