Skip to main content

utility:convert to field

Version: 0.0.0

Description

Create scalar or vector Field.

Inputs

InputNameExpected type(s)Description
Pin 0double_or_vector_doubledouble, vector<double>Data of the field, default is 0-field. Specify a double to have a field of same value or specify directly the data vector.
Pin 1unitstringUnit symbol (m, Hz, kg, ...)
Pin 2locationstringLocation of the field ex 'Nodal', 'ElementalNodal', 'Elemental'... Default is 'numeric'.
Pin 3num_entityint32Number of field entities. Default is 1 or the size of the scoping in input if specified.
Pin 4num_compint32Number of field components. Default is 1.
Pin 5scopingscopingScoping.

Outputs

OutputNameExpected type(s)Description
Pin 0fieldfield

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: utility

Plugin: core

Scripting name: scalars_to_field

Full name: utility.scalars_to_field

Internal name: fieldify

License: None

Changelog

  • Version 0.0.0: Initial release.