Skip to main content

DPF Cpp Client Library 2026 R1

Structure ansys::dpf::ElementDescriptor

Last update: 25.03.2026

Description of element.

See also: elements

Members

Public attributes

Variable id

int ansys::dpf::ElementDescriptor::id

Type: int

Variable name

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

Full name of element.

Type: std::string

Variable short_name

std::string ansys::dpf::ElementDescriptor::short_name

Type: std::string

Variable number_of_corner_nodes

dp_int ansys::dpf::ElementDescriptor::number_of_corner_nodes

Type: dp_int

Variable number_of_mid_nodes

dp_int ansys::dpf::ElementDescriptor::number_of_mid_nodes

Type: dp_int

Variable number_of_nodes

dp_int ansys::dpf::ElementDescriptor::number_of_nodes

Type: dp_int

Variable solid

bool ansys::dpf::ElementDescriptor::solid

Solid or volume element.

Type: bool

Variable shell

bool ansys::dpf::ElementDescriptor::shell

Shell or surface element.

Type: bool

Variable beam

bool ansys::dpf::ElementDescriptor::beam

Beam or line element.

Type: bool

Variable quadratic

bool ansys::dpf::ElementDescriptor::quadratic

Quadratic element.

Type: bool

Public functions

Function ElementDescriptor

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 id: [in] Id of element.
  • std::string const & name: [in] Full name of element.
  • std::string const & short_name: [in] Short name of element.
  • dp_int corner: [in] Number of corner nodes.
  • dp_int mid: [in] Number of mid-side nodes.
  • dp_int 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:

Function operator==

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

Parameters:

Return type: bool

Function unknownNumNodes

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

Return type: bool

Connect with Ansys