You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to convert from Cartesian to cylindrical coords, 'mesh.CoordinateSystem.x' and 'mesh.CoordinateSystem.xR' return the same symbols (Cartesian) and underlying coordinates when evaluated.
import underworld3 as uw
mesh = uw.meshing.StructuredQuadBox(minCoords=(0,0), maxCoords=(1, 1), elementRes=(10,10) )
x, y = mesh.CoordinateSystem.x
r, th = mesh.CoordinateSystem.xR
The text was updated successfully, but these errors were encountered:
I think that is intentional xR is the xyz expression of the rotated coordinates.
r, th = mesh.CoordinateSystem.xR
Would be what I expect to return the rotated coordinates.
I would not be surprised if it is buggy.
L
Prof Louis Moresi.
+61 2 6125 5590 or +61 4 0333 1413
***@***.******@***.***>
***@***.***?anonymous&ep=bwmEmailSignature> Book time to meet with ***@***.***?anonymous&ep=bwmEmailSignature>
________________________________
From: Ben Knight ***@***.***>
Sent: Friday, 29 November 2024 5:50 PM
To: underworldcode/underworld3 ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [underworldcode/underworld3] Converting coordinate system not returning correct coordinates/coordinate system (Issue #272)
Unable to convert from Cartesian to cylindrical coords, 'mesh.CoordinateSystem.x' and 'mesh.CoordinateSystem.xR' return the same symbols (Cartesian) and underlying coordinates when evaluated.
import underworld3 as uw
mesh = uw.meshing.StructuredQuadBox(minCoords=(0,0), maxCoords=(1, 1), elementRes=(10,10) )
x, y = mesh.CoordinateSystem.x
r, th = mesh.CoordinateSystem.xR
—
Reply to this email directly, view it on GitHub<#272>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADABPIY6CEN2HLX2DPFAC4T2DAFEJAVCNFSM6AAAAABSWOP5SSVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4YDIMJQGM4DEOI>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
Unable to convert from Cartesian to cylindrical coords, 'mesh.CoordinateSystem.x' and 'mesh.CoordinateSystem.xR' return the same symbols (Cartesian) and underlying coordinates when evaluated.
The text was updated successfully, but these errors were encountered: