assemble_scalars_to_matrices_fc class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.utility
Summary
Take nine scalar fields container and assemble them as a 3x3 matrix fields. If the 'symmetrical' input is set to true, only six field containers are required (xx, yy, zz, xy, xz and yz).
available inputs: xx (FieldsContainer) (optional), yy (FieldsContainer) (optional), zz (FieldsContainer) (optional), xy (FieldsContainer) (optional), yz (FieldsContainer) (optional), xz (FieldsContainer) (optional), yx (FieldsContainer) (optional), zy (FieldsContainer) (optional), zx (FieldsContainer) (optional), symmetrical (bool) (optional)
available outputs: fields_container (FieldsContainer)
Example
op = assemble_scalars_to_matrices_fc()
op = assemble_scalars_to_matrices_fc(xx=my_xx,yy=my_yy,zz=my_zz,xy=my_xy,yz=my_yz,xz=my_xz,yx=my_yx,zy=my_zy,zx=my_zx,symmetrical=my_symmetrical)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.utility |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
xx
Type: LinkableInput
yy
Type: LinkableInput
zz
Type: LinkableInput
xy
Type: LinkableInput
yz
Type: LinkableInput
xz
Type: LinkableInput
yx
Type: LinkableInput
zy
Type: LinkableInput
zx
Type: LinkableInput
symmetrical
Type: LinkableInput
Outputs
fields_container
Type: LinkableOutput
Constructors
Constructor
assemble_scalars_to_matrices_fc()
Constructor
assemble_scalars_to_matrices_fc(xx, yy, zz, xy, yz, xz, yx, zy, zx, symmetrical, config)
Parameters:
xx(object)yy(object)zz(object)xy(object)yz(object)xz(object)yx(object)zy(object)zx(object)symmetrical(object)config(OperatorConfig)
Constructor
assemble_scalars_to_matrices_fc(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig