]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a function for non-quads/hexes. 12105/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 27 Apr 2021 20:53:52 +0000 (14:53 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 27 Apr 2021 20:53:52 +0000 (14:53 -0600)
source/grid/tria.cc

index 2995dc9025fd38bce197dc99a5db06aa878efb5a..8f0f19a9fea514b132cb17a9fa833967249340c1 100644 (file)
@@ -389,7 +389,7 @@ namespace
       triangulation.n_vertices(), 0);
 
     for (const auto &cell : triangulation.active_cell_iterators())
-      for (const unsigned int v : GeometryInfo<dim>::vertex_indices())
+      for (const unsigned int v : cell->vertex_indices())
         {
           min_adjacent_cell_level[cell->vertex_index(v)] =
             std::min<unsigned int>(

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.