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
18
enum class
MeshPropertyDataType
19
{
20
unknown
= 0,
21
float64
,
22
float32
,
23
int32
,
24
int64
,
25
uint32
,
26
uint64
,
27
int8
,
28
uint8
,
29
char_native
,
30
uchar
,
31
enum_length
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).
37
enum class
ParentDataType
38
{
39
MIXED
= 0,
40
POLYVERTEX
= 1,
41
POLYLINE
= 2,
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
63
std::string
ParentDataType2String
(
ParentDataType
p);
ParentDataType2String
std::string ParentDataType2String(ParentDataType p)
Definition
MeshPropertyDataType.cpp:14
ParentDataType
ParentDataType
Definition
MeshPropertyDataType.h:38
ParentDataType::TETRAHEDRON_10
@ TETRAHEDRON_10
ParentDataType::PYRAMID_13
@ PYRAMID_13
ParentDataType::WEDGE_15
@ WEDGE_15
ParentDataType::TRIANGLE_6
@ TRIANGLE_6
ParentDataType::QUADRILATERAL_9
@ QUADRILATERAL_9
ParentDataType::WEDGE
@ WEDGE
ParentDataType::MIXED
@ MIXED
ParentDataType::HEXAHEDRON_27
@ HEXAHEDRON_27
ParentDataType::EDGE_3
@ EDGE_3
ParentDataType::HEXAHEDRON
@ HEXAHEDRON
ParentDataType::HEXAHEDRON_20
@ HEXAHEDRON_20
ParentDataType::TETRAHEDRON
@ TETRAHEDRON
ParentDataType::TRIANGLE
@ TRIANGLE
ParentDataType::QUADRILATERAL
@ QUADRILATERAL
ParentDataType::PYRAMID
@ PYRAMID
ParentDataType::POLYVERTEX
@ POLYVERTEX
ParentDataType::POLYLINE
@ POLYLINE
ParentDataType::WEDGE_18
@ WEDGE_18
ParentDataType::QUADRILATERAL_8
@ QUADRILATERAL_8
MeshPropertyDataType
MeshPropertyDataType
Definition
MeshPropertyDataType.h:19
MeshPropertyDataType::int32
@ int32
MeshPropertyDataType::int8
@ int8
MeshPropertyDataType::uint64
@ uint64
MeshPropertyDataType::uint32
@ uint32
MeshPropertyDataType::uint8
@ uint8
MeshPropertyDataType::enum_length
@ enum_length
MeshPropertyDataType::uchar
@ uchar
MeshPropertyDataType::unknown
@ unknown
MeshPropertyDataType::char_native
@ char_native
MeshPropertyDataType::float32
@ float32
MeshPropertyDataType::float64
@ float64
MeshPropertyDataType::int64
@ int64
MeshLib
IO
XDMF
MeshPropertyDataType.h
Generated by
1.10.0