]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove an assertion for corner cases, which is not strictly necessary
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Aug 2001 16:25:03 +0000 (16:25 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Aug 2001 16:25:03 +0000 (16:25 +0000)
and was rather thought as an aid in finding programming errors. After
discussion it was thought that it is more difficult to maintain it
than to remove it.

git-svn-id: https://svn.dealii.org/trunk@4898 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_values.cc

index 860f9c3f5cf36434079bce801a3befa892fad0c2..c293fc008f3c508f77c42e38ed1c1488ee3aa8fe 100644 (file)
@@ -803,17 +803,6 @@ void FESubfaceValues<dim>::reinit (const typename DoFHandler<dim>::cell_iterator
          ExcIndexRange (face_no, 0, GeometryInfo<dim>::faces_per_cell));
   Assert (subface_no < GeometryInfo<dim>::subfaces_per_face,
          ExcIndexRange (subface_no, 0, GeometryInfo<dim>::subfaces_per_face));
-
-                                  // check that the face we are
-                                  // presently working on is not at
-                                  // the boundary, since boundary
-                                  // faces cannot, by definition, be
-                                  // further refined as there is no
-                                  // other cell behind the face, and
-                                  // then there is no point in using
-                                  // subfacevalues on these faces
-  Assert (cell->face(face_no)->at_boundary() == false,
-         ExcReinitCalledWithBoundaryFace());
   
   present_cell  = cell;
   present_face  = cell->face(face_no);

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.