Skip to main content

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

InputNameExpected type(s)Description
Pin 1
Required
scopingscopingif nodal/face scoping, then the scoping is transposed respecting the inclusive pin
Pin 2inclusiveint32if 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 3nodes_onlyboolreturns mesh with nodes only (without any elements or property fields). Default is false.
Pin 7
Required
meshabstract_meshed_region

Outputs

OutputNameExpected type(s)Description
Pin 0meshabstract_meshed_region

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: 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.