]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Switch flip and rotation bit in quad orientation 10619/head
authorPeter Munch <peterrmuench@gmail.com>
Sat, 27 Jun 2020 10:22:22 +0000 (12:22 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Sat, 27 Jun 2020 10:22:32 +0000 (12:22 +0200)
include/deal.II/grid/tria_accessor.templates.h

index f65005cb9050ad81771a6312726b187925a9fbb0..a28bc8ea83b72c5eec2116488550a110195a465c 100644 (file)
@@ -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);
       }
 

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.