From: Peter Munch Date: Thu, 11 Feb 2021 14:57:41 +0000 (+0100) Subject: Fix GridIn::read_exodusii X-Git-Tag: v9.3.0-rc1~461^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11731%2Fhead;p=dealii.git Fix GridIn::read_exodusii --- diff --git a/source/grid/grid_in.cc b/source/grid/grid_in.cc index b43bd544c6..1eaa0c7e8f 100644 --- a/source/grid/grid_in.cc +++ b/source/grid/grid_in.cc @@ -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::read_exodusii( CellData 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; }