From: Ralf Hartmann Date: Wed, 9 Nov 2005 08:39:52 +0000 (+0000) Subject: Comment on the old numbering scheme used in GridReordering. X-Git-Tag: v8.0.0~12892 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c254e54046080a4c787443d79af9987882eb236;p=dealii.git Comment on the old numbering scheme used in GridReordering. git-svn-id: https://svn.dealii.org/trunk@11741 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/grid/grid_reordering.h b/deal.II/deal.II/include/grid/grid_reordering.h index a82e5f1ce5..f6b0f2052c 100644 --- a/deal.II/deal.II/include/grid/grid_reordering.h +++ b/deal.II/deal.II/include/grid/grid_reordering.h @@ -28,6 +28,54 @@ * grids. This class is mainly used when reading in grids from files * and converting them to deal.II triangulations. * + * Note: In contrast to the rest of the deal.II library this class + * uses the old deal.II numbering scheme, which was used up to deal.II + * version 5.2. That is, the vertex and face ordering in 2d is assumed + * to be + * @verbatim + * 2 + * 3--->---2 + * | | + * 3^ ^1 + * | | + * 0--->---1 + * 0 + * @endverbatim + * the vertices in 3d: + * @verbatim + * 7-------6 + * /| | + * / | | + * / | | + * 3 | | + * | 4-------5 + * | / / + * | / / + * |/ / + * 0-------1 + * @endverbatim + * and the faces in 3d: + * @verbatim + * *-------* *-------* + * /| | / /| + * / | 1 | / 4 / | + * / | | / / | + * * | | *-------* | + * | 5 *-------* | | 3 * + * | / / | | / + * | / 2 / | 0 | / + * |/ / | |/ + * *-------* *-------* + * @endverbatim + * + * After calling the GridReordering::reorder_cells() function the + * CellData is still in this old numbering scheme. Hence, for creating + * a Triangulation based on the resulting CellData the + * Triangulation::create_triangulation_compatibility() (and not the + * Triangulation::create_triangulation()) function must be used. For + * a typical use of the reorder_cells() function see the + * implementation of the GridIn ::read_*() functions. + * * *

Statement of problems

*