Skip to main content

DPF C++ client library 2023 R2

ansys::dpf::ElementDescriptor Struct Reference

Last update: 10.07.2023

#include <dpf_api_base.h>

Public Member Functions

 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)
 
bool operator== (ElementDescriptor const &rhs) const
 
bool unknownNumNodes () const
 

Data Fields

int id
 
std::string name
 
std::string short_name
 
dp_int number_of_corner_nodes
 
dp_int number_of_mid_nodes
 
dp_int number_of_nodes
 
bool solid
 
bool shell
 
bool beam
 
bool quadratic
 

Detailed Description

Description of element.

See also
elements
Examples
DataApis.cpp.

Constructor & Destructor Documentation

◆ 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
[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

◆ beam

bool ansys::dpf::ElementDescriptor::beam

Beam or line element.

◆ name

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

Full name of element.

Examples
DataApis.cpp.

◆ quadratic

bool ansys::dpf::ElementDescriptor::quadratic

Quadratic element.

◆ shell

bool ansys::dpf::ElementDescriptor::shell

Shell or surface element.

◆ solid

bool ansys::dpf::ElementDescriptor::solid

Solid or volume element.

Examples
DataApis.cpp.