Skip to main content

geo:to polar coordinates

Version: 0.0.0

Description

Finds r, theta (rad), and z coordinates of a coordinates (nodal) field in a cartesian coordinates system where the input coordinate system defines the rotation axis and the origin.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fieldfield, fields_containerfield or fields container with only one field is expected
Pin 1coordinate_systemfield3-3 rotation matrix and origin coordinates must be set here to define a coordinate system. By default, the rotation axis is the z axis and the origin is [0,0,0].

Outputs

OutputNameExpected type(s)Description
Pin 0fieldfield

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

Full name: geo.to_polar_coordinates

Internal name: polar_coordinates

License: any_dpf_supported_increments

Changelog

  • Version 0.0.0: Initial release.