Coordinate transformation from polar to Cartesian
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t), | intent(inout) | :: | equi |
Equilibrium |
||
| real(kind=FP), | intent(in) | :: | x |
Cartesian coordinate x |
||
| real(kind=FP), | intent(in) | :: | y |
Cartesian coordinate y |
||
| real(kind=FP), | intent(in) | :: | phi |
Toroidal angle |
||
| real(kind=FP), | intent(out) | :: | rho |
Polar coordinate rho (normalized flux surface label) |
||
| real(kind=FP), | intent(out) | :: | theta |
Polar coordinate theta (geometric poloidal angle) |