From: Peter Munch Date: Mon, 15 Feb 2021 07:22:25 +0000 (+0100) Subject: Fix ReferenceCell usage in read_exodusii_sidesets() X-Git-Tag: v9.3.0-rc1~454^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11754%2Fhead;p=dealii.git Fix ReferenceCell usage in read_exodusii_sidesets() --- diff --git a/source/grid/grid_in.cc b/source/grid/grid_in.cc index 1eaa0c7e8f..3f07fb6b3f 100644 --- a/source/grid/grid_in.cc +++ b/source/grid/grid_in.cc @@ -3212,8 +3212,8 @@ namespace boundary_line.boundary_id = current_b_or_m_id; for (unsigned int j = 0; j < face_info.n_vertices(); ++j) boundary_line.vertices[j] = - cell - .vertices[info.face_to_cell_vertices(deal_face_n, j, 0)]; + cell.vertices[cell_type.face_to_cell_vertices( + deal_face_n, j, 0)]; subcelldata.boundary_lines.push_back(std::move(boundary_line)); } @@ -3226,8 +3226,8 @@ namespace boundary_quad.boundary_id = current_b_or_m_id; for (unsigned int j = 0; j < face_info.n_vertices(); ++j) boundary_quad.vertices[j] = - cell - .vertices[info.face_to_cell_vertices(deal_face_n, j, 0)]; + cell.vertices[cell_type.face_to_cell_vertices( + deal_face_n, j, 0)]; subcelldata.boundary_quads.push_back(std::move(boundary_quad)); }