averaging:elemental mean (fields container)
Version: 0.0.0
Description
Computes the average of a multi-entity container of fields, (ElementalNodal -> Elemental), (NodalElemental -> Nodal). If the input fields are mixed shell/solid and collapseShellLayers is false, then the fields could be split by element shape and the output fields container would have an elshape label depending on the e_shell_layer and merge_solid_shell inputs (if e_shell_layer is not specified, the fields are split; if it is specified, the fields can be split based on merge_solid_shell).If collapseShellLayers is true, all available shell layers are collapsed and shells and solid fields are always merged.
Inputs
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 Required | fields_container | fields_container | |
| Pin 1 | collapse_shell_layers | bool | If true, the data across different shell layers is averaged as well (default is false). |
| Pin 2 | force_averaging | bool | If true you average, if false you just sum. |
| Pin 3 | scoping | scoping, scopings_container | Average only on these elements. If it is a scoping container, the label must correspond to the one of the fields container. |
| Pin 4 | abstract_meshed_region | abstract_meshed_region, meshes_container | The mesh region in this pin is used to perform the averaging. It is used if there is no fields support. |
| Pin 26 | merge_solid_shell | bool | For shell/solid mixed fields, group in the same field all solids and shells (false by default). This pin only has an effect when collapse_shell_layers is false and a value for e_shell_layer is provided. |
| Pin 27 | e_shell_layer | int32 | 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. This pin only has an effect when collapse_shell_layers is false. |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | fields_container | fields_container |
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: averaging
Plugin: core
Scripting name: elemental_mean_fc
Full name: averaging.elemental_mean_fc
Internal name: entity_average_fc
License: None
Changelog
- Version 0.0.0: Initial release.