Go to the source code of this file.
◆ cprintcoord()
subroutine cprintcoord |
( |
type(coord) |
a | ) |
|
Definition at line 2 of file cprintCoord.f.
References cerrormsg(), and coord_types().
11 #include "Zcoordtype.h" 14 write(msg, *)
'x =',
a%r(1),
' y=',
a%r(2),
' z=',
a%r(3)
18 write(msg, *)
' lat(deg) =',
a%r(1),
' longi(deg)=',
a%r(2),
23 write(msg, *)
' theta(deg) =',
a%r(1),
' phi(deg)=',
a%r(2),
26 do i = 1, max_coord_types
28 write(msg, *)
a%r(1),
a%r(2),
a%r(3),
' sys=',
a%sys
32 write(msg, *)
' coord. system=',
a%sys,
33 *
' unknown to print_coord' subroutine cerrormsg(msg, needrtn)
integer max_coord_types * coord_types(2)/'llh'/