Skip to main content

scoping:rescope

Version: 0.0.0

Description

Rescopes a field on the given scoping. If an ID does not exist in the original field, the default value (in 2) is used when defined.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fieldsfields_container, field
Pin 1mesh_scopingscoping, vector<int32>
Pin 2default_valuedouble, vector<double>If pin 2 is used, the IDs not found in the field are added with this default value.

Outputs

OutputNameExpected type(s)Description
Pin 0fieldsfields_container, field

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.
num_threadsint320Number of threads to use to run in parallel
run_in_parallelbooltrueLoops are allowed to run in parallel if the value of this config is set to true.

Scripting

Category: scoping

Plugin: core

Scripting name: rescope

Full name: scoping.rescope

Internal name: Rescope

License: None

Changelog

  • Version 0.0.0: Initial release.