]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add image
authorBruno Blais <blais.bruno@gmail.com>
Tue, 10 Jun 2025 16:01:37 +0000 (12:01 -0400)
committerBruno Blais <blais.bruno@gmail.com>
Tue, 10 Jun 2025 16:01:37 +0000 (12:01 -0400)
doc/doxygen/images/custom_channel_with_cylinder.png [new file with mode: 0644]
include/deal.II/grid/grid_generator.h
source/grid/grid_generator.cc

diff --git a/doc/doxygen/images/custom_channel_with_cylinder.png b/doc/doxygen/images/custom_channel_with_cylinder.png
new file mode 100644 (file)
index 0000000..fe42ade
Binary files /dev/null and b/doc/doxygen/images/custom_channel_with_cylinder.png differ
index 30988057078e5a7323b477fc56424047808e2172..7db96ab2bc43fe6c13d5b74dc50b94fc1fc633f6 100644 (file)
@@ -568,14 +568,12 @@ namespace GridGenerator
    *   triangulation, and</li>
    *   <li>a bulk region consisting of Cartesian cells.</li>
    * </ol>
-   * Here is the grid (without additional global refinement) in 2d:
+   * Here is an example of a grid (without additional global refinement)
+   * where the arguments were @length_pre=8, @length_post=16, @half_height=8 and the
+   * default arguments are used for the number of shells and skewness:
    *
    * @image html channel_with_cylinder_2d.png
    *
-   * and in 3d:
-   *
-   * @image html channel_with_cylinder_3d.png
-   *
    * The resulting Triangulation uses three manifolds: a PolarManifold (in 2d)
    * or CylindricalManifold (in 3d) with manifold id $0$, a
    * TransfiniteInterpolationManifold with manifold id $1$, and a FlatManifold
index 4dc31dc0a15c7038bcc012eb75919eb80a69a1f0..9e81f59aa1899da943672f139cddc1fc659299cf 100644 (file)
@@ -3831,7 +3831,7 @@ namespace GridGenerator
 
   template <>
   void
-  custom_channel_with_cylinder(Triangulation<1>  &tria,
+  custom_channel_with_cylinder([[maybe_unused]] Triangulation<1>  &tria,
                         [[maybe_unused]] const unsigned int       half_height,
                         [[maybe_unused]] const unsigned int       length_pre,
                         [[maybe_unused]] const unsigned int       length_post,

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.