OGS
MeshPropertyDataType.cpp
Go to the documentation of this file.
1
12
13// See https://www.xdmf.org/index.php/XDMF_Model_and_Format#Topology (Arbitrary)
15{
16 // not used in OGS ParentDataType::POLYGON, ParentDataType::POLYHEDRON,
17 // ParentDataType::HEXAHEDRON_24
18 if (p == ParentDataType::MIXED)
19 {
20 return "Mixed";
21 }
22
24 {
25 return "Polyvertex";
26 }
28 {
29 return "Polyline";
30 }
32 {
33 return "Triangle";
34 }
36 {
37 return "Quadrilateral";
38 }
40 {
41 return "Tetrahedron";
42 }
44 {
45 return "Pyramid";
46 }
47 if (p == ParentDataType::WEDGE)
48 {
49 return "Wedge";
50 }
52 {
53 return "Hexahedron";
54 }
56 {
57 return "Edge_3";
58 }
60 {
61 return "Quadrilateral_9";
62 }
64 {
65 return "Triangle_6";
66 }
68 {
69 return "Quadrilateral_8";
70 }
72 {
73 return "Tetrahedron_10";
74 }
76 {
77 return "Pyramid_13";
78 }
80 {
81 return "Wedge_15";
82 }
84 {
85 return "Wedge_18";
86 }
88 {
89 return "Hexahedron_20";
90 }
92 {
93 return "Hexahedron_27";
94 }
95 return "Mixed";
96}
std::string ParentDataType2String(ParentDataType p)
Enum for all propertyVector data types and XDMF ParentDataTypes.