ansys::dpf::FieldCursor Class Reference
Last update: 10.07.2023
ansys::dpf::FieldCursor Class Reference
#include <dpf_api.h>
Public Member Functions | |
dp_double * | data () const |
dp_double & | operator[] (dp_int index) const |
dp_int | size () const |
dp_id | id () const |
dp_int | n_component () const |
dp_int | n_elementary_data () const |
dp_int | data_first_index () const |
bool | defined () const |
Detailed Description
Represents a complete entity data (id, size, num elementary data).
- Examples
- DataApis.cpp.
Member Function Documentation
◆ data()
|
inline |
- Returns
- Pointer to field data.
- Examples
- DataApis.cpp.
◆ data_first_index()
|
inline |
- Returns
- Index of first entry in field data.
◆ defined()
|
inline |
- Returns
- Indication that field defined
◆ id()
|
inline |
- Returns
- Id of field.
- Examples
- DataApis.cpp.
◆ n_component()
|
inline |
- Returns
- Number of components in field data.
◆ n_elementary_data()
|
inline |
- Returns
- Number of entries in field data.
- Examples
- DataApis.cpp.
◆ operator[]()
- Returns
- Field data at given index.
- Parameters
-
[in] index Index of data within field.
◆ size()
|
inline |
- Returns
- Size of field data.
- Examples
- DataApis.cpp.