enum_elem_type.h
Go to the documentation of this file.
1 // The libMesh Finite Element Library.
2 // Copyright (C) 2002-2017 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
3 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License, or (at your option) any later version.
8 
9 // This library is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
13 
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 
18 
19 
20 #ifndef LIBMESH_ENUM_ELEM_TYPE_H
21 #define LIBMESH_ENUM_ELEM_TYPE_H
22 
23 // ------------------------------------------------------------
24 // enum ElemType definition
25 namespace libMesh {
26 
30 enum ElemType {EDGE2=0, // 0
31  EDGE3, // 1
32  EDGE4, // 2
33 
34  TRI3, // 3
35  TRI6, // 4
36 
37  QUAD4, // 5
38  QUAD8, // 6
39  QUAD9, // 7
40 
41  TET4, // 8
42  TET10, // 9
43 
44  HEX8, // 10
45  HEX20, // 11
46  HEX27, // 12
47 
48  PRISM6, // 13
49  PRISM15, // 14
50  PRISM18, // 15
51 
52  PYRAMID5, // 16
53  PYRAMID13, // 17
54  PYRAMID14, // 18
55 
56  INFEDGE2, // 19
57 
58  INFQUAD4, // 20
59  INFQUAD6, // 21
60 
61  INFHEX8, // 22
62  INFHEX16, // 23
63  INFHEX18, // 24
64 
65  INFPRISM6, // 25
66  INFPRISM12, // 26
67 
68  NODEELEM, // 27
69 
70  REMOTEELEM, // 28
71 
73  TRISHELL3, // 30
74  QUADSHELL4, // 31
75 
76  INVALID_ELEM}; // 32 - should always be last
77 }
78 
79 #endif // LIBMESH_ENUM_ELEM_TYPE_H