Convert from cartesian coordinates (in the x-y plane) to polar coordinates (radius,angle)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk) | :: | x | X coordinate |
|||
real(kind=rk) | :: | y | Y coordinate |
Polar coordinates, radius (first entry) and angle (second entry)