Skip to main content

DPF C++ client library 2023 R2

ansys::dpf::ElementCursor Class Reference

Last update: 10.07.2023

#include <dpf_api.h>

Public Member Functions

 ElementCursor (ElementCursor const &)=delete
 
 ElementCursor (ElementCursor &&)=delete
 
ElementDescriptor const & descriptor () const
 
dp_int numberOfNodes () const
 @ return Number of nodes in element.
 
dp_int numberOfCornerNodes () const
 
dp_int numberOfMidNodes () const
 
dp_int effectiveSize () const
 
bool defined () const
 
dp_id id () const
 
dp_index operator[] (dp_index i) const
 

Detailed Description

Point on a local element data within a mesh.

Examples
DataApis.cpp.

Member Function Documentation

◆ defined()

bool ansys::dpf::ElementCursor::defined ( ) const
inline
Returns
Indication that cursor is defined.

◆ descriptor()

ElementDescriptor const & ansys::dpf::ElementCursor::descriptor ( ) const
inline
Returns
Element descriptor for cursor.

◆ effectiveSize()

dp_int ansys::dpf::ElementCursor::effectiveSize ( ) const
inline
Returns
Number of nodes in cursor.

◆ id()

dp_id ansys::dpf::ElementCursor::id ( ) const
inline
Returns
Element cursor id.

◆ numberOfCornerNodes()

dp_int ansys::dpf::ElementCursor::numberOfCornerNodes ( ) const
inline
Returns
Number of corner nodes in element.

◆ numberOfMidNodes()

dp_int ansys::dpf::ElementCursor::numberOfMidNodes ( ) const
inline
Returns
Number of mid-side nodes in element.

◆ operator[]()

dp_index ansys::dpf::ElementCursor::operator[] ( dp_index  i) const
inline
Returns
Connectivity node id given by index.
Parameters
[in]iIndex into connectivity list.