Go to the source code of this file.
◆ cllh2sph()
subroutine cllh2sph |
( |
type(coord) |
llh, |
|
|
type(coord) |
sph |
|
) |
| |
Definition at line 2 of file cllh2sph.f.
References coord_types(), and d0.
Referenced by ctranscoord2().
16 #include "Zcoordtype.h" 19 temp%radius =
llh%h + eradius
20 temp%theta = 90.
d0 -
llh%lat
22 if(
llh%long .lt. 0.
d0)
then 23 temp%phi =
llh%long + 360.
d0 28 temp%r(3) =
llh%r(3) + eradius
29 temp%r(1) = 90.
d0 -
llh%r(1)
31 if(
llh%r(2) .lt. 0.
d0)
then 32 temp%r(2) =
llh%r(2) + 360.
d0 latitude latitude this system is used *****************************************************************! type coord sequence union map real z z in m endmap xyz map real ! latitude in deg is to the north ! longitude in deg is to the east *h ! height in m endmap llh map real ! polar angle ! azimuthal angle *radius ! radial distance endmap sph endunion character *sys ! which system llh
integer max_coord_types * coord_types(2)/'llh'/
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0