From 595cf553e02495d424b950cad7f2b40fbc78e81e Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Thu, 11 Feb 2021 15:57:41 +0100 Subject: [PATCH] Fix GridIn::read_exodusii --- source/grid/grid_in.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; } -- 2.39.5