    

 ## On this page

  

 

 # Structure ansys::dpf::ElementDescriptor

 Last update: 25.03.2026 

<a id="structansys-dpf-elementdescriptor"></a>

![](https://img.shields.io/badge/language-C%2B%2B-blue "C++")![](https://img.shields.io/badge/-public-brightgreen "public")

Description of element.

**See also**: [elements](structansys-dpf-elements.md#structansys-dpf-elements)

## Members

- [beam](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1adb50cfb463c83f3664027e811d46a6df)
- [ElementDescriptor](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1ab19bfe010b78317bd83e6d1d2b9b1ebf)
- [id](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1ad24353ec6b433aef168406c95f38fb0e)
- [name](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1a49e5f9c938d56155ba253b08ba8b75ff)
- [number\_of\_corner\_nodes](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1af6486768e61885edb5d670b09425c510)
- [number\_of\_mid\_nodes](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1a2a0d6d6af10d5db16cc378f78b4db3ab)
- [number\_of\_nodes](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1ad05e65f705b96d0cbc9162de07d21af3)
- [operator==](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1aa39ac1e62dfbedc388b633dcf743b8b9)
- [quadratic](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1a46568f0ab450482f62299052f34e2c17)
- [shell](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1aec1affe701814f76ea99c13730f4ee78)
- [short\_name](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1a906c009a859169fa2a003c06f9053c47)
- [solid](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1a55af041295e3f9d83373e649289f1b35)
- [unknownNumNodes](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1a4b8bd6d9d01868d7984b58551deb8507)

## Public attributes

<a id="structansys-dpf-elementdescriptor-1ad24353ec6b433aef168406c95f38fb0e"></a>

### Variable id

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
int ansys::dpf::ElementDescriptor::id

```

**Type**: int

<a id="structansys-dpf-elementdescriptor-1a49e5f9c938d56155ba253b08ba8b75ff"></a>

### Variable name

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
std::string ansys::dpf::ElementDescriptor::name

```

Full name of element.

**Type**: std::string

<a id="structansys-dpf-elementdescriptor-1a906c009a859169fa2a003c06f9053c47"></a>

### Variable short\_name

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
std::string ansys::dpf::ElementDescriptor::short_name

```

**Type**: std::string

<a id="structansys-dpf-elementdescriptor-1af6486768e61885edb5d670b09425c510"></a>

### Variable number\_of\_corner\_nodes

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
dp_int ansys::dpf::ElementDescriptor::number_of_corner_nodes

```

**Type**: [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

<a id="structansys-dpf-elementdescriptor-1a2a0d6d6af10d5db16cc378f78b4db3ab"></a>

### Variable number\_of\_mid\_nodes

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
dp_int ansys::dpf::ElementDescriptor::number_of_mid_nodes

```

**Type**: [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

<a id="structansys-dpf-elementdescriptor-1ad05e65f705b96d0cbc9162de07d21af3"></a>

### Variable number\_of\_nodes

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
dp_int ansys::dpf::ElementDescriptor::number_of_nodes

```

**Type**: [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

<a id="structansys-dpf-elementdescriptor-1a55af041295e3f9d83373e649289f1b35"></a>

### Variable solid

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
bool ansys::dpf::ElementDescriptor::solid

```

Solid or volume element.

**Type**: bool

<a id="structansys-dpf-elementdescriptor-1aec1affe701814f76ea99c13730f4ee78"></a>

### Variable shell

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
bool ansys::dpf::ElementDescriptor::shell

```

Shell or surface element.

**Type**: bool

<a id="structansys-dpf-elementdescriptor-1adb50cfb463c83f3664027e811d46a6df"></a>

### Variable beam

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
bool ansys::dpf::ElementDescriptor::beam

```

Beam or line element.

**Type**: bool

<a id="structansys-dpf-elementdescriptor-1a46568f0ab450482f62299052f34e2c17"></a>

### Variable quadratic

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
bool ansys::dpf::ElementDescriptor::quadratic

```

Quadratic element.

**Type**: bool

## Public functions

<a id="structansys-dpf-elementdescriptor-1ab19bfe010b78317bd83e6d1d2b9b1ebf"></a>

### Function ElementDescriptor

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
ansys::dpf::ElementDescriptor::ElementDescriptor(dp_int id, std::string const &name, std::string const &short_name, dp_int corner, dp_int mid, dp_int all, bool is_solid, bool is_shell, bool is_beam)

```

Create element descriptor

**Parameters**:

- [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **id**: \[in\] Id of element.
- std::string const &amp; **name**: \[in\] Full name of element.
- std::string const &amp; **short\_name**: \[in\] Short name of element.
- [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **corner**: \[in\] Number of corner nodes.
- [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **mid**: \[in\] Number of mid-side nodes.
- [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **all**: \[in\] Total number of nodes.
- bool **is\_solid**: \[in\] Is solid/volume element.
- bool **is\_shell**: \[in\] Is shell/surface element.
- bool **is\_beam**: \[in\] Is beam/line element

**Return type**:

<a id="structansys-dpf-elementdescriptor-1aa39ac1e62dfbedc388b633dcf743b8b9"></a>

### Function operator==

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
bool ansys::dpf::ElementDescriptor::operator==(ElementDescriptor const &rhs) const

```

**Parameters**:

- [ElementDescriptor](structansys-dpf-elementdescriptor.md#structansys-dpf-elementdescriptor-1ab19bfe010b78317bd83e6d1d2b9b1ebf) const &amp; **rhs**

**Return type**: bool

<a id="structansys-dpf-elementdescriptor-1a4b8bd6d9d01868d7984b58551deb8507"></a>

### Function unknownNumNodes

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
bool ansys::dpf::ElementDescriptor::unknownNumNodes() const

```

**Return type**: bool