Skip to main content

DPF Cpp Client Library 2026 R1

Class ansys::dpf::FieldCursor

Last update: 25.03.2026

Represents a complete entity data (id, size, num elementary data).

Members

Friends

Friend Field

Public functions

Function data

dp_double * ansys::dpf::FieldCursor::data() const

Returns:

Pointer to field data.

Return type: dp_double *

Function operator[]

dp_double & ansys::dpf::FieldCursor::operator[](dp_int index) const

Returns:

Field data at given index.

Parameters:

  • dp_int index: [in] Index of data within field.

Return type: dp_double &

Function size

dp_int ansys::dpf::FieldCursor::size() const

Returns:

Size of field data.

Return type: dp_int

Function id

dp_id ansys::dpf::FieldCursor::id() const

Returns:

Id of field.

Return type: dp_id

Function n_component

dp_int ansys::dpf::FieldCursor::n_component() const

Returns:

Number of components in field data.

Return type: dp_int

Function n_elementary_data

dp_int ansys::dpf::FieldCursor::n_elementary_data() const

Returns:

Number of entries in field data.

Return type: dp_int

Function data_first_index

dp_int ansys::dpf::FieldCursor::data_first_index() const

Returns:

Index of first entry in field data.

Return type: dp_int

Function defined

bool ansys::dpf::FieldCursor::defined() const

Returns:

Indication that field defined

Return type: bool

Connect with Ansys