From: Peter Munch Date: Sun, 17 Jan 2021 15:03:37 +0000 (+0100) Subject: Add warning to convert_hypercube_to_simplex_mesh X-Git-Tag: v9.3.0-rc1~601^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11574%2Fhead;p=dealii.git Add warning to convert_hypercube_to_simplex_mesh --- diff --git a/include/deal.II/grid/grid_generator.h b/include/deal.II/grid/grid_generator.h index 5ba2a7a074..d17c7e5d02 100644 --- a/include/deal.II/grid/grid_generator.h +++ b/include/deal.II/grid/grid_generator.h @@ -1927,6 +1927,15 @@ namespace GridGenerator * * @param in_tria The triangulation containing hex elements. * @param out_tria The converted triangulation containing tet elements. + * + * @note No manifold objects are copied by this function: you must + * copy existing manifold objects from @p in_tria to @p out_tria, e.g., + * with the following code: + * @code + * for (const auto i : in_tria.get_manifold_ids()) + * if (i != numbers::flat_manifold_id) + * out_tria.set_manifold(i, in_tria.get_manifold(i)); + * @endcode */ template void