OGS
MeshPropertyDataType.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <string>
7
8// TODO (tm) If used on several other places move definition of propertyVector
24
25// See https://www.xdmf.org/index.php/XDMF_Model_and_Format - only relevant if
26// TopologyType(s) added, structure is open to be extended with GridType(s)
27// and ItemType(s).
29{
30 MIXED = 0,
32 POLYLINE = 2, // OGS polylines are supposed to contain exactly 2 nodes
33 // POLYGON = 3, // not used in OGS
38 WEDGE = 8,
40 // POLYHEDRON = 16, // not used in OGS
41 EDGE_3 = 34,
50 // HEXAHEDRON_24 = 49, // not used in OGS
52};
53
54std::pair<std::string, std::size_t> ParentDataType2String(ParentDataType p);
MeshPropertyDataType
std::pair< std::string, std::size_t > ParentDataType2String(ParentDataType p)