BOUT-dev icon indicating copy to clipboard operation
BOUT-dev copied to clipboard

Cylindrical to Cartesian

Open tomc271 opened this issue 5 months ago • 2 comments

Added a new method CylindricalCoordinatesToCartesian() on TokamakOptions class, which returns Cartesian coordinates x, y, z (as Field3D objects) calculated from the cylindrical coordinates Rxy and Zxy (Field2D objects) together with nz equally spaced points for the values of the toroidal angle.

tomc271 avatar Jun 25 '25 12:06 tomc271

Looks like you just need to merge recent next in to fix the test failures

ZedThree avatar Jun 25 '25 13:06 ZedThree

Could you mention why do you need this? Is this only useful for you to cleanup the examples - if so could you demonstrate how that makes things easier? Or is this generally useful, in which case it probably should be documented somehow?

dschwoerer avatar Jun 29 '25 19:06 dschwoerer