libMesh
Loading...
Searching...
No Matches
enum_elem_type.h
Go to the documentation of this file.
1// The libMesh Finite Element Library.
2// Copyright (C) 2002-2026 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
23namespace libMesh {
24
33enum ElemType : int {
34 // 1D
35 EDGE2 = 0,
36 EDGE3 = 1,
37 EDGE4 = 2,
38 // 2D
39 TRI3 = 3,
40 TRI6 = 4,
41 QUAD4 = 5,
42 QUAD8 = 6,
43 QUAD9 = 7,
44 // 3D
45 TET4 = 8,
46 TET10 = 9,
47 HEX8 = 10,
48 HEX20 = 11,
49 HEX27 = 12,
50 PRISM6 = 13,
51 PRISM15 = 14,
52 PRISM18 = 15,
56 // Infinite Elems
60 INFHEX8 = 22,
65 // 0D
67 // Miscellaneous Elems
70 // Shell Elems
74 // Elems with Tri7 (Tri with mid-face node) faces
75 TRI7 = 33,
76 TET14 = 34,
77 PRISM20 = 35,
78 PRISM21 = 36,
80 // Another shell elem
82 // An arbitrary polygon with N EDGE2 sides
84 // An arbitrary polyhedron with C0POLYGON sides
86 // Invalid
87 INVALID_ELEM}; // should always be last
88
98
99}
100
101#endif
The libMesh namespace provides an interface to certain functionality in the library.
ElemType
Defines an enum for geometric element types.
ElemMappingType
Enumeration of possible element master->physical mapping types.
@ RATIONAL_BERNSTEIN_MAP