utility:change shell layers
Version: 0.0.0
Description
Extract the requested shell layers from the input fields. If the fields contain only one layer and the permissive configuration input is set to true then it returns the input fields. If permissive configuration input is set to false, any change which should not be permitted won't be achieved and the corresponding field in the output will be empty. If permissive configuration input is set to true (default), carefully check the result.
Inputs
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 Required | fields_container | fields_container, field | |
| Pin 1 Required | e_shell_layer | int32, enum dataProcessing::EShellLayers | 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. |
| Pin 2 | mesh | abstract_meshed_region, meshes_container | Mesh support of the input fields_container, in case it does not have one defined. If the fields_container contains mixed shell/solid results, the mesh is required (either by connecting this pin or in the support). |
| Pin 26 | merge | bool | For fields with mixed shell layers (solid/shell elements with heterogeneous shell layers), group all of them in the same field (false by default). |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | fields_container | fields_container, 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. |
| permissive | bool | true | If permissive is set to false, the operator run will ensure the 'change shell layers' operation is allowed (for example, if asking mid layer for a field defined on top and bottom layers, the computed field will be empty). If permissive is set to true, the operator run will be done in a permissive way (no check). Default is true. |
Scripting
Category: utility
Plugin: core
Scripting name: change_shell_layers
Full name: utility.change_shell_layers
Internal name: change_shellLayers
License: None
Changelog
- Version 0.0.0: Initial release.