From 2553c5caf262acc660919c9c885b11246e701328 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 10 Jul 2009 21:05:28 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/source/grid/tria.cc | 9 --------- 1 file changed, 9 deletions(-) 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 -- 2.39.5