> ## 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::ElementDescriptor Struct Reference

`#include <dpf_api_base.h>`

## Public Member Functions

| Type | Name |
| - | - |
| | [ElementDescriptor](#ab19bfe010b78317bd83e6d1d2b9b1ebf) ([dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) id, std::string const &[name](#a49e5f9c938d56155ba253b08ba8b75ff), std::string const \&short\_name, [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) corner, [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) mid, [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) all, bool is\_solid, bool is\_shell, bool is\_beam) |
|  bool | **operator==** ([ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) const \&rhs) const |
|  bool | **unknownNumNodes** () const |

## Data Fields

| Type | Name |
| - | - |
|  int | **id** |
| std::string | [name](#a49e5f9c938d56155ba253b08ba8b75ff) |
|  std::string | **short\_name** |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | **number\_of\_corner\_nodes** |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | **number\_of\_mid\_nodes** |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | **number\_of\_nodes** |
| bool | [solid](#a55af041295e3f9d83373e649289f1b35) |
| bool | [shell](#aec1affe701814f76ea99c13730f4ee78) |
| bool | [beam](#adb50cfb463c83f3664027e811d46a6df) |
| bool | [quadratic](#a46568f0ab450482f62299052f34e2c17) |

## Detailed Description

Description of element.

**See also**

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

**Examples**

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

## Constructor & Destructor Documentation

### ElementDescriptor()

```cpp theme={null}
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**

| Direction | Name | Description |
| - | - | - |
| \[in] | id | Id of element. |
| \[in] | name | Full name of element. |
| \[in] | short\_name | Short name of element. |
| \[in] | corner | Number of corner nodes. |
| \[in] | mid | Number of mid-side nodes. |
| \[in] | all | Total number of nodes. |
| \[in] | is\_solid | Is solid/volume element. |
| \[in] | is\_shell | Is shell/surface element. |
| \[in] | is\_beam | Is beam/line element |

## Field Documentation

### beam

```cpp theme={null}
bool ansys::dpf::ElementDescriptor::beam
```

Beam or line element.

### name

```cpp theme={null}
std::string ansys::dpf::ElementDescriptor::name
```

Full name of element.

**Examples**

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

### quadratic

```cpp theme={null}
bool ansys::dpf::ElementDescriptor::quadratic
```

Quadratic element.

### shell

```cpp theme={null}
bool ansys::dpf::ElementDescriptor::shell
```

Shell or surface element.

### solid

```cpp theme={null}
bool ansys::dpf::ElementDescriptor::solid
```

Solid or volume element.

**Examples**

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