Skip to main content

geo:rotate in cylindrical coordinates (fields container)

Version: 0.0.0

Description

Rotates all the fields of a fields container (not defined with a cynlindrical coordinate system) to its corresponding values into the specified cylindrical coordinate system (corresponding to the field position). If a coordinate system is not set in the coordinate_system pin, the field is rotated on each node following the local polar coordinate system.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fieldfield, fields_container
Pin 1coordinate_systemfield3-3 rotation matrix and origin coordinates must be set here to define a coordinate system.
Pin 2meshabstract_meshed_regionMesh support of the input fields_container, in case it does not have one defined.

Outputs

OutputNameExpected type(s)Description
Pin 0fields_containerfields_container

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

Plugin: core

Scripting name: rotate_in_cylindrical_cs_fc

Full name: geo.rotate_in_cylindrical_cs_fc

Internal name: transform_cylindrical_cs_fc

License: any_dpf_supported_increments

Changelog

  • Version 0.0.0: Initial release.