From 253635f70fb6b3b85bfdedc75dafdb1126ef9215 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 13 Jul 2014 18:13:43 +0000 Subject: [PATCH] Enlarge manifold_id to unsigned int, as discussed on the mailing list. git-svn-id: https://svn.dealii.org/branches/branch_manifold_id_intermediate@33149 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/doxygen/headers/glossary.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/deal.II/doc/doxygen/headers/glossary.h b/deal.II/doc/doxygen/headers/glossary.h index 8e11889651..680fd11039 100644 --- a/deal.II/doc/doxygen/headers/glossary.h +++ b/deal.II/doc/doxygen/headers/glossary.h @@ -383,29 +383,29 @@ * is responsible to generate new points when the mesh is refined. * * By default, all manifold indicators of a mesh are set to - * types::invalid_manifold_id. A typical piece of code that sets the + * numbers::invalid_manifold_id. A typical piece of code that sets the * manifold indicator on a object to something else would look like * this, here setting the manifold indicator to 42 for all cells whose - * center has the x component located at $-1$: + * center has an $x$ component less than zero: * * @code * for (typename Triangulation::active_cell_iterator cell = * triangulation.begin_active(); * cell != triangulation.end(); ++cell) - * if (cell->center()[0] == -1) - * cell->set_manifold_id (42); + * if (cell->center()[0] < 0) + * cell->set_manifold_id (42); * @endcode * - * Here we call the function TriaAccessor::set_manifold_id. It may + * Here we call the function TriaAccessor::set_manifold_id(). It may * also be appropriate to call TriaAccessor::set_all_manifold_ids * instead, to set recursively the manifold id on each face (and edge, * if in 3d). To query the manifold indicator of a particular object - * edge, use TriaAccessor::manifold_id. + * edge, use TriaAccessor::manifold_id(). * * The code above only sets the manifold indicators of a particular * part of the Triangulation, but it does not by itself change the way * the Triangulation class treats this object for the purposes of mesh - * refinement. For this, you need to call Triangulation::set_manifold + * refinement. For this, you need to call Triangulation::set_manifold() * to associate a manifold object with a particular manifold * indicator. This allows the Triangulation objects to use a different * method of finding new points on cells, faces or edges to be @@ -415,7 +415,8 @@ * @note Manifold indicators are inherited from parents to their * children upon mesh refinement. Some more information about manifold * indicators is also presented in a section of the documentation of - * the Triangulation class. + * the Triangulation class as well as in the + * @ref manifold "Manifold documentation module". * * * @see @ref manifold "The module on Manifolds" -- 2.39.5