]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix GridIn::read_exodusii 11731/head
authorPeter Munch <peterrmuench@gmail.com>
Thu, 11 Feb 2021 14:57:41 +0000 (15:57 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Thu, 11 Feb 2021 14:57:41 +0000 (15:57 +0100)
source/grid/grid_in.cc

index b43bd544c674b5366e5c702a686a436c6acac3de..1eaa0c7e8f919238cc87b7558a078a4a2307a407 100644 (file)
@@ -3198,8 +3198,7 @@ namespace
               internal::ReferenceCell::get_cell(cell_type);
             const unsigned int deal_face_n =
               info.exodusii_face_to_deal_face(local_face_n);
-            const internal::ReferenceCell::Base &face_info =
-              internal::ReferenceCell::get_face(cell_type, deal_face_n);
+            const auto &face_info = cell_type.face_reference_cell(deal_face_n);
 
             // The orientation we pick doesn't matter here since when we create
             // the Triangulation we will sort the vertices for each CellData
@@ -3367,7 +3366,7 @@ GridIn<dim, spacedim>::read_exodusii(
           CellData<dim> cell(type.n_vertices());
           for (unsigned int i : type.vertex_indices())
             {
-              cell.vertices[internal::ReferenceCell::get_cell(info)
+              cell.vertices[internal::ReferenceCell::get_cell(type)
                               .exodusii_vertex_to_deal_vertex(i)] =
                 connection[elem_n + i] - 1;
             }

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.