DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
ElemEnum.hpp
Go to the documentation of this file.
1#pragma once
2// ElemEnum.hpp -- Element type and parameter space enumerations.
3//
4// Extracted from Elements.hpp so that ElementTraits.hpp and other headers
5// can use the enums without pulling in the full Elements definition.
6
7#include <cstdint>
8
9namespace DNDS::Geom::Elem
10{
11 /**
12 * Complying to [CGNS Element standard](https://cgns.github.io/CGNS_docs_current/sids/conv.html)
13 * !note that we use 0 based indexing (CGNS uses 1 based in the link)
14 */
15
16 static const int CellNumNodeMax = 27;
17
19 {
21 Line2 = 1,
22 Line3 = 8,
23
24 Tri3 = 2,
25 Tri6 = 9,
26 Quad4 = 3,
27 Quad9 = 10,
28
29 Tet4 = 4,
30 Tet10 = 11,
31 Hex8 = 5,
32 Hex27 = 12,
33 Prism6 = 6,
34 Prism18 = 13,
37
38 ElemType_NUM = 15
39 };
40
56
57} // namespace DNDS::Geom::Elem