Skip to main content
Contains a group of fields. #include <dpf_api.h> Inherits ansys::dpf::CollectionBase.

Public Member Functions

Static Public Member Functions

Detailed Description

Contains a group of fields. FieldsContainer is a group of fields, used mainly in transient, harmonic, modal or multi-steps static analysis, where we can have a field for each time step or for each frequency. Consequently the fields container can describle a complete analysis with all its details. The fields container is designed as a set of fields ordered through labels and ids. Labels identify how the fields are filtered. The most common fields container have the label “time” with ids corresponding to each time sets, the label “complex” will allow to separate real parts (id=0) from imaginary parts (id=1) in a harmonic analysis. See also Using collections and labels Examples AveragingTest.cpp, CompleteRST.cpp, DataApis.cpp, DataExport.cpp, ModelTest.cpp, OperatorsApis.cpp, ResultTest.cpp, and WorkflowExamples.cpp.

Constructor & Destructor Documentation

FieldsContainer() [1/4]

Create a new fields container on a server. Parameters

FieldsContainer() [2/4]

Create a collection of fields with the given labels on a server. Parameters

FieldsContainer() [3/4]

Retrieve an existing instance of FieldsContainer on a server.
Parameters

FieldsContainer() [4/4]

Create a collection of fields with the given labels. Parameters

Member Function Documentation

add()

Add Field to LabelSpace. Parameters Examples DataApis.cpp, and DataExport.cpp.

at() [1/2]

Get field at index. Returns Field given by index. Parameters Examples AveragingTest.cpp, and CompleteRST.cpp.

at() [2/2]

Get field at index. Returns Field given by index. Parameters

createSubFieldsContainer()

Create a new fields container with all the fields corresponding to the label space in input. Returns Created fields container. Parameters

deep_copy()

Create a new FieldsContainer on a server by copying all the data of this FieldsContainer. Parameters

emptyFieldsContainer()

static Create an empty fields container. Returns Empty FieldsContainer. Examples DataExport.cpp.

getField()

Returns First Field given by LabelSpace Parameters Examples DataExport.cpp.

getFields()

Returns Fields given by LabelSpace Parameters

getFieldsForTimeId()

Returns Real or imaginary (by default real) Fields at given time set. Parameters

getFieldsIndeces()

Returns Field indices for field given by LabelSpace Parameters

operator[]()

Get field at index. Returns Field given by index. Parameters

update()

Update Field at index Parameters