OGS
MeshPropertyDataType.h
Go to the documentation of this file.
1
13#pragma once
14
15#include <string>
16
17// TODO (tm) If used on several other places move definition of propertyVector
19{
20 unknown = 0,
21 float64,
22 float32,
23 int32,
24 int64,
25 uint32,
26 uint64,
27 int8,
28 uint8,
30 uchar,
32};
33
34// See https://www.xdmf.org/index.php/XDMF_Model_and_Format - only relevant if
35// TopologyType(s) added, structure is open to be extended with GridType(s)
36// and ItemType(s).
38{
39 MIXED = 0,
40 POLYVERTEX = 1,
41 POLYLINE = 2, // OGS polylines are supposed to contain exactly 2 nodes
42 // POLYGON = 3, // not used in OGS
43 TRIANGLE = 4,
44 QUADRILATERAL = 5,
45 TETRAHEDRON = 6,
46 PYRAMID = 7,
47 WEDGE = 8,
48 HEXAHEDRON = 9,
49 // POLYHEDRON = 16, // not used in OGS
50 EDGE_3 = 34,
51 QUADRILATERAL_9 = 35,
52 TRIANGLE_6 = 36,
53 QUADRILATERAL_8 = 37,
54 TETRAHEDRON_10 = 38,
55 PYRAMID_13 = 39,
56 WEDGE_15 = 40,
57 WEDGE_18 = 41,
58 HEXAHEDRON_20 = 48,
59 // HEXAHEDRON_24 = 49, // not used in OGS
60 HEXAHEDRON_27 = 50
61};
62
63std::pair<std::string, std::size_t> ParentDataType2String(ParentDataType p);
MeshPropertyDataType
std::pair< std::string, std::size_t > ParentDataType2String(ParentDataType p)