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