From: Peter Munch Date: Sat, 27 Jun 2020 10:22:22 +0000 (+0200) Subject: Switch flip and rotation bit in quad orientation X-Git-Tag: v9.3.0-rc1~1353^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b51406d46b97a7fb635cf35998622c53ae1d5191;p=dealii.git Switch flip and rotation bit in quad orientation --- diff --git a/include/deal.II/grid/tria_accessor.templates.h b/include/deal.II/grid/tria_accessor.templates.h index f65005cb90..a28bc8ea83 100644 --- a/include/deal.II/grid/tria_accessor.templates.h +++ b/include/deal.II/grid/tria_accessor.templates.h @@ -671,7 +671,7 @@ namespace internal return get_bit( accessor.tria->levels[accessor.present_level]->face_orientations [accessor.present_index * GeometryInfo<3>::faces_per_cell + face], - 1 /*=flip_bit*/); + 2 /*=flip_bit*/); } @@ -707,7 +707,7 @@ namespace internal return get_bit( accessor.tria->levels[accessor.present_level]->face_orientations [accessor.present_index * GeometryInfo<3>::faces_per_cell + face], - 2 /*=rotation_bit*/); + 1 /*=rotation_bit*/); } /** @@ -864,7 +864,7 @@ namespace internal set_bit( accessor.tria->levels[accessor.present_level]->face_orientations [accessor.present_index * GeometryInfo<3>::faces_per_cell + face], - 1 /*=flip_bit*/, + 2 /*=flip_bit*/, value); } @@ -897,7 +897,7 @@ namespace internal set_bit( accessor.tria->levels[accessor.present_level]->face_orientations [accessor.present_index * GeometryInfo<3>::faces_per_cell + face], - 2 /*=rotation_bit*/, + 1 /*=rotation_bit*/, value); }