]> https://gitweb.dealii.org/ - dealii.git/commitdiff
correct the name of the repititions variable
authorNils Schween <symbolschubser@riseup.net>
Wed, 15 Mar 2023 16:06:09 +0000 (17:06 +0100)
committerNils Schween <symbolschubser@riseup.net>
Wed, 15 Mar 2023 16:06:09 +0000 (17:06 +0100)
tests/grid/grid_tools_collect_periodic_faces_parallel_shared_tria.cc

index c68cf02b5e6e104dc5f50d520d1932f3e16d718a..fc32abf0d89206abfa6ee69b095edd022dee525c 100644 (file)
@@ -42,15 +42,15 @@ test(MPI_Comm comm)
   unsigned int              num_refinements = 1 << 4;
   Point<dim>                p1;
   Point<dim>                p2;
-  std::vector<unsigned int> repitions(dim);
+  std::vector<unsigned int> repititions(dim);
 
   for (unsigned int i = 0; i < dim; ++i)
     {
-      p1[i]        = 0.;
-      p2[i]        = 1.;
-      repitions[i] = num_refinements;
+      p1[i]          = 0.;
+      p2[i]          = 1.;
+      repititions[i] = num_refinements;
     }
-  GridGenerator::subdivided_hyper_rectangle(tria, repitions, p1, p2, true);
+  GridGenerator::subdivided_hyper_rectangle(tria, repititions, p1, p2, true);
   // Collect periodic faces in the x-direction
   GridTools::collect_periodic_faces(tria, 0, 1, 0, matched_pairs);
   // Check the size of the matched_pairs vector

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.