From e359048bb1ab247e91e06866c11deb6ac03f9371 Mon Sep 17 00:00:00 2001 From: Ralf Hartmann Date: Wed, 9 Nov 2005 10:11:01 +0000 Subject: [PATCH] Give vertex ordering of the UCD format. git-svn-id: https://svn.dealii.org/trunk@11743 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/grid/grid_in.h | 30 +++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/deal.II/deal.II/include/grid/grid_in.h b/deal.II/deal.II/include/grid/grid_in.h index ca5da2b4cc..d6f6b8a01f 100644 --- a/deal.II/deal.II/include/grid/grid_in.h +++ b/deal.II/deal.II/include/grid/grid_in.h @@ -75,9 +75,33 @@ class SubCellData; *
  • @p UCD (unstructured cell data) format: this format is used * for grid input as well as data output. If there are data vectors in * the input file, they are ignored, as we are only interested in the - * grid in this class. The exact description of the format can be - * found in the AVS Explorer manual (see http://www.avs.com). - * The @p UCD format can be read by the read_ucd() function. + * grid in this class. The UCD format requires the vertices to be + * in following ordering: in 2d + * @verbatim + * 3-----2 + * | | + * | | + * | | + * 0-----1 + * @endverbatim + * and in 3d + * @verbatim + * 7-------6 7-------6 + * /| | / /| + * / | | / / | + * / | | / / | + * 3 | | 3-------2 | + * | 4-------5 | | 5 + * | / / | | / + * | / / | | / + * |/ / | |/ + * 0-------1 0-------1 + * @endverbatim + * Note, that this ordering is different from the deal.II numbering + * scheme, see the Triangulation class. The exact description of the + * UCD format can be found in the AVS Explorer manual (see + * http://www.avs.com). The @p UCD format can be read by the + * read_ucd() function. * *
  • DB mesh format: this format is used by the @p BAMG mesh * generator (see -- 2.39.5