    

 ## On this page

  

 

 # ansys::dpf::ElementDescriptor Struct Reference

 Last update: 16.07.2025 

`#include <dpf_api_base.h>`

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [ElementDescriptor](structansys_1_1dpf_1_1ElementDescriptor.xhtml#ab19bfe010b78317bd83e6d1d2b9b1ebf) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) id, std::string const &amp;[name](structansys_1_1dpf_1_1ElementDescriptor.xhtml#a49e5f9c938d56155ba253b08ba8b75ff), std::string const &amp;short\_name, [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) corner, [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) mid, [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) all, bool is\_solid, bool is\_shell, bool is\_beam) <a id="aa39ac1e62dfbedc388b633dcf743b8b9" name="aa39ac1e62dfbedc388b633dcf743b8b9"></a>bool **operator==** ([ElementDescriptor](structansys_1_1dpf_1_1ElementDescriptor.xhtml) const &amp;rhs) const <a id="a4b8bd6d9d01868d7984b58551deb8507" name="a4b8bd6d9d01868d7984b58551deb8507"></a>bool **unknownNumNodes** () const ## <a id="pub-attribs" name="pub-attribs"></a>Data Fields

<a id="ad24353ec6b433aef168406c95f38fb0e" name="ad24353ec6b433aef168406c95f38fb0e"></a>int **id** std::string [name](structansys_1_1dpf_1_1ElementDescriptor.xhtml#a49e5f9c938d56155ba253b08ba8b75ff) <a id="a906c009a859169fa2a003c06f9053c47" name="a906c009a859169fa2a003c06f9053c47"></a>std::string **short\_name** <a id="af6486768e61885edb5d670b09425c510" name="af6486768e61885edb5d670b09425c510"></a>[dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) **number\_of\_corner\_nodes** <a id="a2a0d6d6af10d5db16cc378f78b4db3ab" name="a2a0d6d6af10d5db16cc378f78b4db3ab"></a>[dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) **number\_of\_mid\_nodes** <a id="ad05e65f705b96d0cbc9162de07d21af3" name="ad05e65f705b96d0cbc9162de07d21af3"></a>[dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) **number\_of\_nodes** bool [solid](structansys_1_1dpf_1_1ElementDescriptor.xhtml#a55af041295e3f9d83373e649289f1b35) bool [shell](structansys_1_1dpf_1_1ElementDescriptor.xhtml#aec1affe701814f76ea99c13730f4ee78) bool [beam](structansys_1_1dpf_1_1ElementDescriptor.xhtml#adb50cfb463c83f3664027e811d46a6df) bool [quadratic](structansys_1_1dpf_1_1ElementDescriptor.xhtml#a46568f0ab450482f62299052f34e2c17) <a id="details" name="details"></a>## Detailed Description

Description of element.

See also[elements](structansys_1_1dpf_1_1elements.xhtml) Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#_a67).

## Constructor &amp; Destructor Documentation

<a id="ab19bfe010b78317bd83e6d1d2b9b1ebf" name="ab19bfe010b78317bd83e6d1d2b9b1ebf"></a>## [◆ ](#ab19bfe010b78317bd83e6d1d2b9b1ebf)ElementDescriptor()

 ansys::dpf::ElementDescriptor::ElementDescriptor  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *id*,    std::string const &amp;  *name*,    std::string const &amp;  *short\_name*,    [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *corner*,    [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *mid*,    [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *all*,    bool  *is\_solid*,    bool  *is\_shell*,    bool  *is\_beam*   ) 

Create element descriptor

Parameters \[in\]idId of element. \[in\]nameFull name of element. \[in\]short\_nameShort name of element. \[in\]cornerNumber of corner nodes. \[in\]midNumber of mid-side nodes. \[in\]allTotal number of nodes. \[in\]is\_solidIs solid/volume element. \[in\]is\_shellIs shell/surface element. \[in\]is\_beamIs beam/line element 



## Field Documentation

<a id="adb50cfb463c83f3664027e811d46a6df" name="adb50cfb463c83f3664027e811d46a6df"></a>## [◆ ](#adb50cfb463c83f3664027e811d46a6df)beam

 bool ansys::dpf::ElementDescriptor::beam

Beam or line element.





<a id="a49e5f9c938d56155ba253b08ba8b75ff" name="a49e5f9c938d56155ba253b08ba8b75ff"></a>## [◆ ](#a49e5f9c938d56155ba253b08ba8b75ff)name

 std::string ansys::dpf::ElementDescriptor::name

Full name of element.

Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a69).



<a id="a46568f0ab450482f62299052f34e2c17" name="a46568f0ab450482f62299052f34e2c17"></a>## [◆ ](#a46568f0ab450482f62299052f34e2c17)quadratic

 bool ansys::dpf::ElementDescriptor::quadratic

Quadratic element.





<a id="aec1affe701814f76ea99c13730f4ee78" name="aec1affe701814f76ea99c13730f4ee78"></a>## [◆ ](#aec1affe701814f76ea99c13730f4ee78)shell

 bool ansys::dpf::ElementDescriptor::shell

Shell or surface element.





<a id="a55af041295e3f9d83373e649289f1b35" name="a55af041295e3f9d83373e649289f1b35"></a>## [◆ ](#a55af041295e3f9d83373e649289f1b35)solid

 bool ansys::dpf::ElementDescriptor::solid

Solid or volume element.

Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a73).