From 592a3930118c8542120174bd888fa6893afe063a Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Tue, 16 Mar 2021 16:37:38 +0100 Subject: [PATCH] Fix storage of boundary id in MatrixFree --- include/deal.II/matrix_free/face_info.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/deal.II/matrix_free/face_info.h b/include/deal.II/matrix_free/face_info.h index 2e1e01ef5a..6ba9da2279 100644 --- a/include/deal.II/matrix_free/face_info.h +++ b/include/deal.II/matrix_free/face_info.h @@ -77,17 +77,17 @@ namespace internal /** * Index of the face between 0 and GeometryInfo::faces_per_cell within - * the cells on the "interior" side of the faces. + * the cells on the "exterior" side of the faces. + * + * For a boundary face, this data field stores the boundary id. */ - unsigned char interior_face_no; + types::boundary_id exterior_face_no; /** * Index of the face between 0 and GeometryInfo::faces_per_cell within - * the cells on the "exterior" side of the faces. - * - * For a boundary face, this data field stores the boundary id. + * the cells on the "interior" side of the faces. */ - unsigned char exterior_face_no; + unsigned char interior_face_no; /** * For adaptively refined meshes, the cell on the exterior side of the -- 2.39.5