]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Trivial bug fix.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 6 May 1998 15:37:52 +0000 (15:37 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 6 May 1998 15:37:52 +0000 (15:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@260 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/error_estimator.cc

index e9d7835c3a554072c33455afe61eddb495aed6db..c5be6740d4bc8a7acf9bb7f2f5e74e4bb6026f11 100644 (file)
@@ -368,8 +368,6 @@ integrate_over_irregular_face (const active_cell_iterator &cell,
   const DoFHandler<dim>::cell_iterator neighbor = cell->neighbor(face_no);
   Assert (neighbor.state() == valid, ExcInternalError());
   Assert (neighbor->has_children(), ExcInternalError());
-  Assert (neighbor->child(0)->has_children()==false,
-         ExcInternalError());
                                   // set up a vector of the gradients
                                   // of the finite element function
                                   // on this cell at the quadrature
@@ -399,6 +397,9 @@ integrate_over_irregular_face (const active_cell_iterator &cell,
                          child_cell_on_face(neighbor_neighbor,subface_no));
       Assert (neighbor_child->face(neighbor_neighbor) ==
              cell->face(face_no)->child(subface_no),
+             ExcInternalError());
+      Assert (!neighbor->child(GeometryInfo<dim>::
+                              child_cell_on_face(neighbor_neighbor,subface_no))->has_children(),
              ExcInternalError());
             
                                       // restrict the finite element on the

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.