mesh:from scoping
Version: 0.0.0
Description
Extracts a meshed region from another meshed region based on a scoping. Regarding the property fields whose scoping location is 'Elemental', 'Faces', and 'Nodal', they are scoped to the elements, faces or nodes of the output mesh. The ones whose scoping location is 'Global' are transferred from the input mesh to the output mesh without changes, and the rest of the property fields are not present in the output mesh.
Inputs
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 1 Required | scoping | scoping | if nodal/face scoping, then the scoping is transposed respecting the inclusive pin |
| Pin 2 | inclusive | int32 | if inclusive == 1 then all the elements/faces adjacent to the nodes/faces ids in input are added, if inclusive == 0, only the elements/faces which have all their nodes/faces in the scoping are included |
| Pin 3 | nodes_only | bool | returns mesh with nodes only (without any elements or property fields). Default is false. |
| Pin 7 Required | mesh | abstract_meshed_region |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | mesh | abstract_meshed_region |
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: mesh
Plugin: core
Scripting name: from_scoping
Full name: mesh.from_scoping
Internal name: mesh::by_scoping
License: any_dpf_supported_increments
Changelog
- Version 0.0.0: Initial release.