From 8e0cbc0a8ef72716bd25765144e7497c27ebba86 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sat, 31 Aug 2024 09:45:32 -0400 Subject: [PATCH] add image --- doc/doxygen/images/alfeld-split.dia | 335 ++++++++++++++++++++++++++ doc/doxygen/images/alfeld-split.svg | 11 + include/deal.II/grid/grid_generator.h | 4 +- 3 files changed, 349 insertions(+), 1 deletion(-) create mode 100644 doc/doxygen/images/alfeld-split.dia create mode 100644 doc/doxygen/images/alfeld-split.svg diff --git a/doc/doxygen/images/alfeld-split.dia b/doc/doxygen/images/alfeld-split.dia new file mode 100644 index 0000000000..54cf56b87a --- /dev/null +++ b/doc/doxygen/images/alfeld-split.dia @@ -0,0 +1,335 @@ + + + + + + + + + + + + + #A4# + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ## + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ## + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/doxygen/images/alfeld-split.svg b/doc/doxygen/images/alfeld-split.svg new file mode 100644 index 0000000000..1a7e25b40f --- /dev/null +++ b/doc/doxygen/images/alfeld-split.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/include/deal.II/grid/grid_generator.h b/include/deal.II/grid/grid_generator.h index d2a5eec06c..bba90f4594 100644 --- a/include/deal.II/grid/grid_generator.h +++ b/include/deal.II/grid/grid_generator.h @@ -2429,11 +2429,13 @@ namespace GridGenerator * Perform an Alfeld split (also called barycentric refinement) of a simplex * mesh. * + * @note Currently only implemented for @p dim = 2. + * This function takes a simplex mesh (@p in_tria) and subdivides each * triangle into three triangles with a single new vertex (the barycenter). In * the process, the simplex mesh is flattened (no hierarchy is kept). * - * @note Currently only implemented for @p dim = 2. + * @image html alfeld-split.svg * * Also see * @ref simplex "Simplex support". -- 2.39.5