From: Peter Munch Date: Sun, 9 Aug 2020 11:03:07 +0000 (+0200) Subject: Rename two variables in MF X-Git-Tag: v9.3.0-rc1~1204^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc12d31b4bac87bc83d350ab8eda890ba05434f7;p=dealii.git Rename two variables in MF --- diff --git a/include/deal.II/matrix_free/face_setup_internal.h b/include/deal.II/matrix_free/face_setup_internal.h index c9a1ede8ce..4f74facc14 100644 --- a/include/deal.II/matrix_free/face_setup_internal.h +++ b/include/deal.II/matrix_free/face_setup_internal.h @@ -973,22 +973,22 @@ namespace internal } info.face_orientation = 0; - const unsigned int left_face_orientation = + const unsigned int interior_face_orientation = !cell->face_orientation(face_no) + 2 * cell->face_flip(face_no) + 4 * cell->face_rotation(face_no); - const unsigned int right_face_orientation = + const unsigned int exterior_face_orientation = !neighbor->face_orientation(info.exterior_face_no) + 2 * neighbor->face_flip(info.exterior_face_no) + 4 * neighbor->face_rotation(info.exterior_face_no); - if (left_face_orientation != 0) + if (interior_face_orientation != 0) { - info.face_orientation = 8 + left_face_orientation; - Assert(right_face_orientation == 0, + info.face_orientation = 8 + interior_face_orientation; + Assert(exterior_face_orientation == 0, ExcMessage( "Face seems to be wrongly oriented from both sides")); } else - info.face_orientation = right_face_orientation; + info.face_orientation = exterior_face_orientation; return info; }