]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix tidy.
authorLuca Heltai <luca.heltai@sissa.it>
Thu, 13 Apr 2023 13:25:04 +0000 (16:25 +0300)
committerLuca Heltai <luca.heltai@sissa.it>
Tue, 4 Jul 2023 07:48:28 +0000 (09:48 +0200)
source/dofs/dof_tools.cc

index cf2d1b5280ccb0a540048f647dbea66317095d41..fa49c31753ee62ab61d226877679d90114310a96 100644 (file)
@@ -1381,13 +1381,13 @@ namespace DoFTools
       c0_to_c1;
 
     // map volume mesh face -> codimension 1 dof cell
-    for (auto c1_cell : c1_dh.active_cell_iterators())
+    for (const auto &c1_cell : c1_dh.active_cell_iterators())
       if (c1_to_c0.find(c1_cell) != c1_to_c0.end())
         c0_to_c1[c1_to_c0.at(c1_cell)] = c1_cell;
 
     // generate a mapping that maps codimension-1 cells
     // to codimension-0 cells and faces
-    for (auto cell :
+    for (const auto &cell :
          c0_dh.active_cell_iterators()) // disp_dof.active_cell_iterators())
       for (const auto f : cell->face_indices())
         if (cell->face(f)->at_boundary() &&

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.