> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ansys::dpf::elements Struct Reference

`#include <dpf_api_base.h>`

## Public Types

| Type | Name |
| - | - |
| enum | **EElementType** \{  **kAnsGeneral** = -2 , **kAnsAll** = -1 , **kAnsTet10** = 0 , **kAnsHex20** = 1 ,  **kAnsWedge15** = 2 , **kAnsPyramid13** = 3 , **kAnsTri6** = 4 , **kAnsTriShell6** = 5 ,  **kAnsQuad8** = 6 , **kAnsQuadShell8** = 7 , **kAnsLine3** = 8 , **kAnsPoint1** = 9 ,  **kAnsTet4** = 10 , **kAnsHex8** = 11 , **kAnsWedge6** = 12 , **kAnsPyramid5** = 13 ,  **kAnsTri3** = 14 , **kAnsTriShell3** = 15 , **kAnsQuad4** = 16 , **kAnsQuadShell4** = 17 ,  **kAnsLine2** = 18 , **kAnsNumElementTypes** = 19 , **kAnsUnknown** = 20 , **kAnsEMagLine** = 21 ,  **kAnsEMagArc** = 22 , **kAnsEMagCircle** = 23 , **kAnsSurface3** = 24 , **kAnsSurface4** = 25 ,  **kAnsSurface6** = 26 , **kAnsSurface8** = 27 , **kAnsEdge2** = 28 , **kAnsEdge3** = 29 ,  **kAnsBeam3** = 30 , **kAnsBeam4** = 31 , **kAnsGeneralPlaceholder** = 32 , **kAnsPolygon** = 33 ,  **kAnsPolyhedron** = 34 , **kAnsActualNumElementTypes** = 35  } |
| enum | **EShape** \{ **eShell** = 0 , **eSolid** = 1 , **eBeam** = 2 , **eUnknownShape** = 3 } |
|  typedef enum ansys::dpf::elements::EElementType | **EElementType** |

## Static Public Member Functions

| Type | Name |
| - | - |
| static [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) const & | [descriptor](#a30e8daf92a36604a3c176d9f7b5d1f35) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) element\_index) |

## Static Public Attributes

| Type | Name |
| - | - |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [tet4](#a05d59369acd4f4ac6819645f2413ee22) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [tet10](#a7f276f248180559409b323fdedb70582) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [tri3](#ac6ff34f1a725f25b7e0a095aff779136) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [triShell3](#a6da8547db64d0404c57c70c1b2ac7c49) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [tri6](#a678e9dcef96b39246445828f33e72b71) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [triShell6](#aee80f084c6fbaedceee94106818bec1c) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [quad4](#a4781a62a05dd26d8f1f19cd7c4b6e524) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [quadShell4](#ac9194bac632c648b744f96a2306b428b) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [quad8](#ad36e9e7391d69a1b8ad420e39fe3e7e0) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [quadShell8](#a93a4e8340f6e8aa6c8eaddc53f4f597d) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [pyramid5](#a5691e11b844d29be5134f86e7dcd11dc) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [pyramid13](#a941c7a8dbfe56e2babd10f8cc8ac4285) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [wedge6](#a3141f08f706520d619035b8511f0896a) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [wedge15](#a892a97f94e4a6fddaad8fe6291ad3dff) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [hex8](#a04e5abf7b58c9ba639b0846d05950642) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [hex20](#a62bb2da3409ede24afca38ace21f75e8) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [line2](#a52f6751afe46909ad6c83c0b0510491d) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [line3](#ae353ec6c1cb895bb0ee8b2dd59f2033e) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [beam3](#a07ea15edb478efe2cb580ba86a65b89e) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [beam4](#a7651898827538618d188da12cb8be51a) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [point1](#a42c776bd25670e7ca0c2cc9fc91e2829) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [polygon](#a0b3e8e1bcd04a985c4f8d32c5e95738e) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [polyhedron](#af9f8a7d13897f82bc5fefa49b8797a83) |
| static const [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) | [unknown](#a51f0cc33dad4fd994ce98dd77a49ea9d) |
| static const std::vector\< [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) > | [linears](#a5553bdd8a5ab865ec9f66f59f4103707) |
| static const std::vector\< [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) > | [quadratics](#a3c236de96ce4dddc85a57bab6a32bc83) |
| static const std::vector\< [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) > | [solid\_elements](#a4abe6329bb8b96b9a4b7f3ecd8fc7f2e) |

## Detailed Description

Predefined [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md).

## Member Function Documentation

### descriptor()

```cpp theme={null}
static ElementDescriptor const & ansys::dpf::elements::descriptor(dp_index element_index)
```

`inline` `static`

**Returns**

[ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) based on [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) id.

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/DataApis_8cpp-example.md).

## Field Documentation

### beam3

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::beam3
```

`static`

Linear 2-nodes (+ orientation node) Beam.

### beam4

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::beam4
```

`static`

Quadratic 3-nodes (+ orientation node) Beam.

### hex20

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::hex20
```

`static`

Quadratic 20-nodes Hexahedron.

### hex8

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::hex8
```

`static`

Linear 8-nodes Hexahedron.

### line2

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::line2
```

`static`

Linear 2-nodes Line.

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/DataApis_8cpp-example.md).

### line3

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::line3
```

`static`

Quadratic 3-nodes Line.

### linears

```cpp theme={null}
const std::vector< ElementDescriptor > ansys::dpf::elements::linears
```

`static`

of those elements with no mid-side nodes (excluding shell elements).

### point1

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::point1
```

`static`

Point element.

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/DataApis_8cpp-example.md), and [DataExport.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/DataExport_8cpp-example.md).

### polygon

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::polygon
```

`static`

Polygon element.

### polyhedron

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::polyhedron
```

`static`

Polyhedron element.

### pyramid13

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::pyramid13
```

`static`

Quadratic 13-nodes Pyramid.

### pyramid5

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::pyramid5
```

`static`

Linear 5-nodes Pyramid.

### quad4

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::quad4
```

`static`

Linear 4-nodes Quadrangle.

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/DataApis_8cpp-example.md).

### quad8

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::quad8
```

`static`

Quadratic 8-nodes Quadrangle.

### quadratics

```cpp theme={null}
const std::vector< ElementDescriptor > ansys::dpf::elements::quadratics
```

`static`

Vector of those elements with mid-side nodes (excluding shell elements).

### quadShell4

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::quadShell4
```

`static`

Linear 4-nodes Quadrangle Shell.

**Examples**

[DataExport.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/DataExport_8cpp-example.md).

### quadShell8

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::quadShell8
```

`static`

Quadratic 8-nodes Quadrangle Shell.

### solid\_elements

```cpp theme={null}
const std::vector< ElementDescriptor > ansys::dpf::elements::solid_elements
```

`static`

Vector of solid/volume elements.

### tet10

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::tet10
```

`static`

Quadratic 10-nodes Tetrahedron.

### tet4

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::tet4
```

`static`

Linear 4-nodes Tetrahedron.

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/DataApis_8cpp-example.md), and [DataExport.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/DataExport_8cpp-example.md).

### tri3

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::tri3
```

`static`

Linear 3-nodes Triangle.

### tri6

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::tri6
```

`static`

Quadratic 6-nodes Triangle.

### triShell3

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::triShell3
```

`static`

Linear 3-nodes Triangle Shell.

### triShell6

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::triShell6
```

`static`

Quadratic 6-nodes Triangle Shell.

### unknown

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::unknown
```

`static`

Unknown element type.

### wedge15

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::wedge15
```

`static`

Quadratic 15-nodes Wedge.

### wedge6

```cpp theme={null}
const ElementDescriptor ansys::dpf::elements::wedge6
```

`static`

Linear 6-nodes Wedge.
