Summary
The Field is the main simulation data container. Results data are defined by values associated to entities (scoping), and these entities are a subset of a model (support)Example
Class Information
Constructors
Constructor
pField(IntPtr)
Constructor
Methods
GetEntityDataByIndex
MethodGetEntityDataByIndex data container of the entity asked
index(int)
GetEntityDataById
MethodGetEntityDataById data container of the entity asked
id(int)
UpdateEntityDataByEntityIndex
EntityIndex(int)data(list)
Add
id(int)data(list)
Reserve
MethodReserve reserve the data vectors
scopingSize(int)dataSize(int)
GetHardCopy
MethodGetHardCopy create a copy of the field by allocating the data size and getting a copy of the scoping
copyData(bool (optional))
op_Addition
a(Field)b(Field)
op_Addition
a(Field)b(float)
op_Addition
a(float)b(Field)
op_Addition
a(Field)b(list)
op_Addition
a(list)b(Field)
op_Subtraction
a(Field)b(Field)
op_Subtraction
a(Field)b(float)
op_Subtraction
a(float)b(Field)
op_Subtraction
a(list)b(Field)
op_Subtraction
a(Field)b(list)
op_Multiply
a(Field)b(Field)
op_Multiply
a(Field)b(float)
op_Multiply
a(float)b(Field)
op_Multiply
a(list)b(Field)
op_Multiply
a(Field)b(list)
GetInternalData
Properties
Location
PropertyLocation describes what kind of entity the results are scoped to
Type: str
NComp
PropertyNComp number of components by entity
Type: int
ComponentCount
PropertyComponentCount number of components by entity
Type: int
ElementaryDataCount
PropertyElementaryDataCount number of times numComp can be found in the data container
Type: int
Data
PropertyDataaccess the data container row values
Data can be seen as a list of elementary data (one by scoping id)
Type: list
ScopingIds
PropertyScopingIds ids belonging to the scoping, identical to my_field.Scoping.Ids
Type: list
Scoping
PropertyScoping entities ids representing a subset of the model and on which the data container is scoped
Type: Scoping
Unit
Propertyunit unit symbol of the field
Type: str
eShellLayers
Type: shellLayersMeshedRegionSupport
PropertyMeshedRegionSupport returns the field’s support if it’s a meshed region
Type: MeshedRegion
TimeFreqSupport
PropertyTimeFreqSupport returns the field’s support if it’s a time freq support
Type: TimeFreqSupport
Name
Type: strClone
PropertyClone create a copy of the field, change its dimensionnality and allocate the data according to the fields scoping and the new dimensionnality
Type: FieldCloning