]> https://gitweb.dealii.org/ - dealii.git/commitdiff
GridTools::Cache: avoid GeometryInfo.
authorDavid Wells <drwells@email.unc.edu>
Thu, 8 Jun 2023 18:04:22 +0000 (14:04 -0400)
committerDavid Wells <drwells@email.unc.edu>
Fri, 9 Jun 2023 00:35:28 +0000 (20:35 -0400)
source/grid/grid_tools_cache.cc

index a4c6108439b24d738028cccdc40e56bfbfe4968d..cd189b66e36eae7f7027d704f9a153f4eb63266f 100644 (file)
@@ -214,7 +214,7 @@ namespace GridTools
         for (const auto &cell : tria->active_cell_iterators())
           {
             if (cell->is_ghost())
-              for (const unsigned int v : GeometryInfo<dim>::vertex_indices())
+              for (const unsigned int v : cell->vertex_indices())
                 vertex_to_neighbor_subdomain[cell->vertex_index(v)].insert(
                   cell->subdomain_id());
           }

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.