From: Bruno Blais Date: Tue, 10 Jun 2025 16:01:37 +0000 (-0400) Subject: Add image X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c9d729ce9ac1c2d88a56bf554aa447b390d8304;p=dealii.git Add image --- diff --git a/doc/doxygen/images/custom_channel_with_cylinder.png b/doc/doxygen/images/custom_channel_with_cylinder.png new file mode 100644 index 0000000000..fe42adedf2 Binary files /dev/null and b/doc/doxygen/images/custom_channel_with_cylinder.png differ diff --git a/include/deal.II/grid/grid_generator.h b/include/deal.II/grid/grid_generator.h index 3098805707..7db96ab2bc 100644 --- a/include/deal.II/grid/grid_generator.h +++ b/include/deal.II/grid/grid_generator.h @@ -568,14 +568,12 @@ namespace GridGenerator * triangulation, and *
  • a bulk region consisting of Cartesian cells.
  • * - * 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 diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index 4dc31dc0a1..9e81f59aa1 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -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,