From: Wolfgang Bangerth Date: Fri, 10 Jul 2009 21:05:28 +0000 (+0000) Subject: Remove a check in 3d that cells have positive volume. We later catch X-Git-Tag: v8.0.0~7501 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2553c5caf262acc660919c9c885b11246e701328;p=dealii.git Remove a check in 3d that cells have positive volume. We later catch these cases and throw a (catchable) exception if we find any such cells. git-svn-id: https://svn.dealii.org/trunk@19058 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/grid/tria.cc b/deal.II/deal.II/source/grid/tria.cc index 4392c3d7fe..3e58529a2a 100644 --- a/deal.II/deal.II/source/grid/tria.cc +++ b/deal.II/deal.II/source/grid/tria.cc @@ -2495,15 +2495,6 @@ namespace internal for (unsigned int l=0; l<4; ++l) quad->line(l)->set_boundary_indicator (0); - // Check that all cells have - // positive volume. As the input - // CellData already passed this - // test we don't really expect - // negative measures here - for (typename Triangulation::active_cell_iterator - cell=triangulation.begin_active(); cell!=triangulation.end(); ++cell) - Assert(cell->measure()>0, ExcInternalError()); - /////////////////////////////////////// // now set boundary indicators // where given