#include <dpf_api.h>
Inheritance diagram for ansys::dpf::Field:

Public Member Functions
Public Member Functions inherited from ansys::dpf::DpfTypes
Public Member Functions inherited from ansys::dpf::DpfTypes
Public Member Functions inherited from ansys::dpf::DpfTypes
Static Public Member Functions
Detailed Description
Data for an entity. The field is the main simulation data container. In numerical simulations, results data are defined by values associated to entities (scoping), and these entities are a subset of a model (support). In DPF, field data is always associated to its scoping and support, making the field a self-describing piece of data. A field is also defined by its dimensionnality, unit, location… A field can for example, describe a displacement vector or norm, stresses and strains tensors, stresses and strains equivalent, min max over time of any result… It can be defined on a complete model or just on certain entities of the model thanks to its scoping. The data is stored as a vector of double values and each elementary entity has a number of components (thanks to the dimensionality, a displacement will have 3 components, a symmetrical stress matrix 6…) Examples AveragingTest.cpp, CompleteRST.cpp, DataApis.cpp, DataExport.cpp, ModelTest.cpp, OperatorsApis.cpp, ResultTest.cpp, and WorkflowExamples.cpp.Constructor & Destructor Documentation
Field() [1/3]
Field() [2/3]
Field() [3/3]
Parameters
Member Function Documentation
addStringProperty()
createFieldWithTransformation()
static
Instantiate a Field with Transformation. For each call to a getter, the workflow in input is connected this Field to input_name_to_connect and the Field output in output_name_to_eval is used as the getter instance.
Parameters
data() [1/2]
data() [2/2]
Examples
DataApis.cpp, DataExport.cpp, ModelTest.cpp, and OperatorsApis.cpp.
dataPointer()
dataSize()
deep_copy() [1/2]
deep_copy() [2/2]
emptyField()
static
Create an empty Field.
Returns
Empty Field.
entityData() [1/2]
Examples
DataApis.cpp.
entityData() [2/2]
entityDataById() [1/2]
Examples
DataApis.cpp.
entityDataById() [2/2]
entityId()
fieldDefinition()
fillCursor()
Examples
DataApis.cpp.
getData()
Examples
ResultTest.cpp.
getStringProperty()
identicalPointers()
name()
numberOfComponents()
numberOfElementaryData()
numberOfElementaryDataByEntityId()
numberOfElementaryDataByEntityIndex()
numberOfEntities()
push_back() [1/3]
push_back() [2/3]
push_back() [3/3]
Examples
AveragingTest.cpp, and DataApis.cpp.
reserve()
resize()
resizeDataPointer()
scoping()
setData() [1/2]
setData() [2/2]
Examples
DataApis.cpp, and OperatorsApis.cpp.
setDataPointer() [1/2]
setDataPointer() [2/2]
setFieldDefinition()
setName()
setScoping()
setSupport() [1/3]
setSupport() [2/3]
Examples
AveragingTest.cpp.