Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/med.git] / src / INTERP_KERNEL / Bases / NormalizedUnstructuredMesh.hxx
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef __NORMALIZEDUNSTRUCTUREDMESH_HXX__
21 #define __NORMALIZEDUNSTRUCTUREDMESH_HXX__
22
23 namespace INTERP_KERNEL
24 {
25   typedef enum
26     {
27       ALL_C_MODE       ,
28       ALL_FORTRAN_MODE
29     } NumberingPolicy;
30
31
32   typedef enum
33     {
34       NORM_POINT1  =  0,
35       NORM_SEG2    =  1,
36       NORM_SEG3    =  2,
37       NORM_SEG4    =  10,
38       NORM_POLYL   =  33,
39       NORM_TRI3    =  3,
40       NORM_QUAD4   =  4,
41       NORM_POLYGON =  5,
42       NORM_TRI6    =  6,
43       NORM_TRI7    =  7,
44       NORM_QUAD8   =  8,
45       NORM_QUAD9   =  9,
46       NORM_QPOLYG  =  32,
47       //
48       NORM_TETRA4  = 14,
49       NORM_PYRA5   = 15,
50       NORM_PENTA6  = 16,
51       NORM_HEXA8   = 18,
52       NORM_TETRA10 = 20,
53       NORM_HEXGP12 = 22,
54       NORM_PYRA13  = 23,
55       NORM_PENTA15 = 25,
56       NORM_HEXA20  = 30,
57       NORM_HEXA27  = 27,
58       NORM_POLYHED = 31,
59       NORM_ERROR   = 40,
60       NORM_MAXTYPE = 33
61     } NormalizedCellType;
62
63   class GenericMesh
64   {};
65 }
66
67 #endif