From ef10acc5095f50df14287749b67241aadd2eed4c Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 17 Nov 2010 03:35:49 +0000 Subject: [PATCH] Add a note. git-svn-id: https://svn.dealii.org/trunk@22785 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/grid/grid_tools.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/deal.II/include/deal.II/grid/grid_tools.h b/deal.II/include/deal.II/grid/grid_tools.h index 68ea24e2ff..ea4db5ce47 100644 --- a/deal.II/include/deal.II/grid/grid_tools.h +++ b/deal.II/include/deal.II/grid/grid_tools.h @@ -809,6 +809,29 @@ class GridTools * It also builds a mapping linking the * cells on the surface mesh to the * corresponding faces on the volume one. + * + * @note The function builds the surface + * mesh by creating a coarse mesh from + * the selected faces of the coarse cells + * of the volume mesh. It copies the + * boundary indicators of these faces to + * the cells of the coarse surface + * mesh. The surface mesh is then refined + * in the same way as the faces of the + * volume mesh are. In order to ensure + * that the surface mesh has the same + * vertices as the volume mesh, it is + * therefore important that you assign + * appropriate boundary objects through + * Triangulation::set_boundary to the + * surface mesh object before calling + * this function. If you don't, the + * refinement will happen under the + * assumption that all faces are straight + * (i.e using the StraightBoundary class) + * rather than any curved boundary object + * you may want to use to determine the + * location of new vertices. */ template static void -- 2.39.5