]> https://gitweb.dealii.org/ - dealii.git/commitdiff
rename files and generator
authorBruno Blais <blais.bruno@gmail.com>
Mon, 30 Jun 2025 13:58:26 +0000 (09:58 -0400)
committerBruno Blais <blais.bruno@gmail.com>
Mon, 30 Jun 2025 13:58:26 +0000 (09:58 -0400)
include/deal.II/grid/grid_generator.h
source/grid/grid_generator.cc
source/grid/grid_generator_from_name.cc
tests/grid/grid_generator_uniform_channel_with_cylinder.cc [moved from tests/grid/grid_generator_custom_channel_with_cylinder.cc with 93% similarity]
tests/grid/grid_generator_uniform_channel_with_cylinder.output [moved from tests/grid/grid_generator_custom_channel_with_cylinder.output with 100% similarity]

index 587563802d32f0e800393054069b3e43bfb62384..156a823252a6e22297260f4313de6141db23a477 100644 (file)
@@ -633,7 +633,7 @@ namespace GridGenerator
    */
   template <int dim>
   void
-  custom_channel_with_cylinder(
+  uniform_channel_with_cylinder(
     Triangulation<dim>             &tria,
     const std::vector<unsigned int> lengths_and_heights,
     const double                    depth                  = 1,
index d412431c2aa13c6c0a15f5a5709f62465d0cc240..35010cb6fb1513c6c7891d3f68a22b576d3e37fe 100644 (file)
@@ -3831,22 +3831,22 @@ namespace GridGenerator
 
   template <>
   void
-  custom_channel_with_cylinder(Triangulation<1> &,
-                               const std::vector<unsigned int>,
-                               const double,
-                               unsigned int,
-                               const double,
-                               const unsigned,
-                               const double,
-                               const bool,
-                               const bool)
+  uniform_channel_with_cylinder(Triangulation<1> &,
+                                const std::vector<unsigned int>,
+                                const double,
+                                unsigned int,
+                                const double,
+                                const unsigned,
+                                const double,
+                                const bool,
+                                const bool)
   {
     DEAL_II_NOT_IMPLEMENTED();
   }
 
   template <>
   void
-  custom_channel_with_cylinder(
+  uniform_channel_with_cylinder(
     Triangulation<2>               &tria,
     const std::vector<unsigned int> lengths_and_heights,
     const double,
@@ -4023,7 +4023,7 @@ namespace GridGenerator
 
   template <>
   void
-  custom_channel_with_cylinder(
+  uniform_channel_with_cylinder(
     Triangulation<3>               &tria,
     const std::vector<unsigned int> lengths_and_heights,
     const double                    depth,
@@ -4035,15 +4035,15 @@ namespace GridGenerator
     const bool                      colorize)
   {
     Triangulation<2> tria_2;
-    custom_channel_with_cylinder(tria_2,
-                                 lengths_and_heights,
-                                 depth,
-                                 depth_division,
-                                 shell_region_radius,
-                                 n_shells,
-                                 skewness,
-                                 use_transfinite_region,
-                                 colorize);
+    uniform_channel_with_cylinder(tria_2,
+                                  lengths_and_heights,
+                                  depth,
+                                  depth_division,
+                                  shell_region_radius,
+                                  n_shells,
+                                  skewness,
+                                  use_transfinite_region,
+                                  colorize);
 
     // extrude to 3d
     extrude_triangulation(tria_2, depth_division, depth, tria, true);
index d603fc4caa434f25bf66b0984cc199ee22dde99b..ff43ce54a6ee88125030561cf020c4a5fe9f12b6 100644 (file)
@@ -129,7 +129,7 @@ namespace GridGenerator
                          unsigned int,
                          double,
                          bool,
-                         bool>(custom_channel_with_cylinder, arguments, tria);
+                         bool>(uniform_channel_with_cylinder, arguments, tria);
       else if (name == "enclosed_hyper_cube")
         parse_and_create<dim, dim, double, double, double, bool>(
           enclosed_hyper_cube, arguments, tria);
similarity index 93%
rename from tests/grid/grid_generator_custom_channel_with_cylinder.cc
rename to tests/grid/grid_generator_uniform_channel_with_cylinder.cc
index 9ef899c228e403ea7c871e95a34377d7a8a0f10a..68d426c903b004681c5939c46ee8af10b3ce547e 100644 (file)
@@ -30,7 +30,7 @@ dim_2(std::ostream &os)
   const unsigned int d = 2;
   Triangulation<d>   tr;
 
-  GridGenerator::custom_channel_with_cylinder(
+  GridGenerator::uniform_channel_with_cylinder(
     tr, {3, 5, 4, 4}, 1, 2, 0.75, 4, 2, true, true);
 
   GridOut gout;
@@ -42,7 +42,7 @@ dim_3(std::ostream &os)
 {
   const unsigned int d = 3;
   Triangulation<d>   tr;
-  GridGenerator::custom_channel_with_cylinder(
+  GridGenerator::uniform_channel_with_cylinder(
     tr, {3, 5, 4, 4}, 1, 2, 0.75, 4, 2, true, true);
   GridOut gout;
   gout.write_vtk(tr, os);

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.