]> https://gitweb.dealii.org/ - dealii.git/commitdiff
make_periodicity_constraints(): Fix a comment.
authorDavid Wells <drwells@email.unc.edu>
Sat, 26 Apr 2025 17:04:11 +0000 (13:04 -0400)
committerDavid Wells <drwells@email.unc.edu>
Sat, 26 Apr 2025 21:58:22 +0000 (17:58 -0400)
source/dofs/dof_tools_constraints.cc

index 95aeac9b7b4a1bad545afaf1366bd8f9c23183ac..489c7be69f86babee51a1db402c27e4fc7c7d66c 100644 (file)
@@ -3802,13 +3802,9 @@ namespace DoFTools
           {
             Assert(!face_1->has_children(), ExcInternalError());
 
-            // Important note:
-            // In 3d we have to take care of the fact that face_rotation gives
-            // the relative rotation of face_1 to face_2, i.e. we have to invert
-            // the rotation when constraining face_2 to face_1. Therefore
-            // face_flip has to be toggled if face_rotation is true: In case of
-            // inverted orientation, nothing has to be done.
-
+            // since the combined_orientation describes how we should rotate
+            // face_1 to match face_2, we invert it to match the convention
+            // expected by set_periodicity_constraints()
             const auto face_reference_cell = face_1->reference_cell();
             internal::set_periodicity_constraints(
               face_1,

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.