From 299d0f623f46411bf4ec166ea6469597e706eccb Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Mon, 15 Feb 2021 08:22:25 +0100 Subject: [PATCH] Fix ReferenceCell usage in read_exodusii_sidesets() --- source/grid/grid_in.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)); } -- 2.39.5