]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a check in 3d that cells have positive volume. We later catch
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 10 Jul 2009 21:05:28 +0000 (21:05 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 10 Jul 2009 21:05:28 +0000 (21:05 +0000)
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

index 4392c3d7fe4a979060ab2764ff5b8e12056bc02e..3e58529a2ac3ed807fa943cd4c69290b3a8d57be 100644 (file)
@@ -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<dim,spacedim>::active_cell_iterator
-                  cell=triangulation.begin_active(); cell!=triangulation.end(); ++cell)
-             Assert(cell->measure()>0, ExcInternalError());
-      
                                             ///////////////////////////////////////
                                             // now set boundary indicators
                                             // where given

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.