From bc12d31b4bac87bc83d350ab8eda890ba05434f7 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Sun, 9 Aug 2020 13:03:07 +0200 Subject: [PATCH] Rename two variables in MF --- include/deal.II/matrix_free/face_setup_internal.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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; } -- 2.39.5