From c964a3383a1f29aa8f6fa5972452b673727b58fb Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Sun, 20 Sep 2020 10:15:13 +0200 Subject: [PATCH] Add note to Triangulation::create_triangulation --- include/deal.II/grid/tria.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/deal.II/grid/tria.h b/include/deal.II/grid/tria.h index e8233a89da..24920d3032 100644 --- a/include/deal.II/grid/tria.h +++ b/include/deal.II/grid/tria.h @@ -1697,7 +1697,9 @@ public: /** * Return a constant reference to a Manifold object used for this - * triangulation. Number is the same as in @p set_manifold + * triangulation. @p number is the same as in set_manifold(). + * + * @note If no manifold could be found, the default flat manifold is returned. * * @ingroup manifold * @@ -1820,8 +1822,11 @@ public: * Create a triangulation from the provided * TriangulationDescription::Description. * + * @note Don't forget to attach the manifolds with set_manifold() before + * calling this function if manifolds are needed. + * * @note The namespace TriangulationDescription::Utilities contains functions - * to create TriangulationDescription::Description. + * to create TriangulationDescription::Description. * * @param construction_data The data needed for this process. */ -- 2.39.5