]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix ReferenceCell usage in read_exodusii_sidesets() 11754/head
authorPeter Munch <peterrmuench@gmail.com>
Mon, 15 Feb 2021 07:22:25 +0000 (08:22 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Mon, 15 Feb 2021 07:22:25 +0000 (08:22 +0100)
source/grid/grid_in.cc

index 1eaa0c7e8f919238cc87b7558a078a4a2307a407..3f07fb6b3fe89bd9f2fff1d8874d3d1b6cc99c88 100644 (file)
@@ -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));
               }

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.