]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid the use of GeometryInfo. 15696/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 14 Jul 2023 06:49:16 +0000 (00:49 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 14 Jul 2023 06:49:16 +0000 (00:49 -0600)
source/grid/grid_generator.cc

index b37029d32beb0ea659b1ffccd9eec7d0a7f3aba8..4f1120eb9cb6ccd599bdb481dbd671959155da7e 100644 (file)
@@ -7538,7 +7538,7 @@ namespace GridGenerator
     double eps = 1e-3 * outer_radius;
     for (const auto &cell : triangulation.active_cell_iterators())
       {
-        for (const unsigned int f : GeometryInfo<dim>::face_indices())
+        for (const unsigned int f : cell->face_indices())
           if (cell->face(f)->at_boundary())
             {
               const double dx = cell->face(f)->center()(0);

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.