utility:convert to field
Version: 0.0.0
Description
Create scalar or vector Field.
Inputs
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | double_or_vector_double | double, 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 1 | unit | string | Unit symbol (m, Hz, kg, ...) |
| Pin 2 | location | string | Location of the field ex 'Nodal', 'ElementalNodal', 'Elemental'... Default is 'numeric'. |
| Pin 3 | num_entity | int32 | Number of field entities. Default is 1 or the size of the scoping in input if specified. |
| Pin 4 | num_comp | int32 | Number of field components. Default is 1. |
| Pin 5 | scoping | scoping | Scoping. |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | field | field |
Configurations
| Name | Expected type(s) | Default value | Description |
|---|---|---|---|
| mutex | bool | false | If 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.