Skip to main content

System Coupling C++ library 2025 R1

ElementTypes

Last update: 17.07.2025
1 /*
2  * Copyright ANSYS. All rights reserved.
3  */
4 
5 #pragma once
6 
7 #include <cstdint>
8 #include <type_traits>
9 namespace sysc {
10 
231 enum class ElementTypes : std::uint16_t {
232  Tri3 = 5u,
233  Tri6 = 6u,
234  Quad4 = 7u,
235  Quad8 = 8u,
236  Tet4 = 9u,
237  Tet10 = 10u,
238  Hex8 = 11u,
239  Hex20 = 12u,
240  Wedge6 = 13u,
241  Wedge15 = 14u,
242  Pyramid5 = 15u,
243  Pyramid13 = 16u,
244  Polygon = 18u,
245  Polyhedron = 19u
246 };
247 
248 using ElementTypeUnderlyingType = typename std::underlying_type<ElementTypes>::type;
249 
250 } // namespace sysc
ElementTypes
Provide an enum for element types.

Connect with Ansys