]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix storage of boundary id in MatrixFree
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 16 Mar 2021 15:37:38 +0000 (16:37 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 16 Mar 2021 15:37:38 +0000 (16:37 +0100)
include/deal.II/matrix_free/face_info.h

index 2e1e01ef5a1d919e386d5121da394496a1b97811..6ba9da2279263acfe78fae5b6141e1746b93c866 100644 (file)
@@ -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

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.