Go to the source code of this file.
◆ ctranscoord2()
subroutine ctranscoord2 |
( |
character*(*) |
sys, |
|
|
type(coord) |
a, |
|
|
type(coord) |
b |
|
) |
| |
Definition at line 2 of file ctransCoord2.f.
References cecent2llh(), cecent2sph(), cerrormsg(), cllh2ecent(), cllh2sph(), csph2ecent(), and csph2llh().
Referenced by atmncobptcl(), cgeomag(), cinitobs(), cmag2ecent(), and cresetposang().
23 if(
a%sys .eq.
sys)
then 27 if(
a%sys .eq.
'xyz')
then 28 if(
sys .eq.
'llh')
then 30 elseif(
sys .eq.
'sph')
then 33 write(msg, *)
'error sys=',
sys,
' transCoord2' 36 elseif(
a%sys .eq.
'llh')
then 37 if(
sys .eq.
'xyz')
then 39 elseif(
sys .eq.
'sph')
then 42 write(msg, *)
'error sys=',
sys,
' transCoord2' 45 elseif(
a%sys .eq.
'sph')
then 46 if(
sys .eq.
'xyz')
then 48 elseif(
sys .eq.
'llh')
then 51 write(msg, *)
'error a%sys=',
a%sys,
' transCoord2' 55 write(msg, *)
'error a%sys=',
a%sys,
' transCoord2' subroutine cerrormsg(msg, needrtn)
subroutine csph2ecent(a, b)
subroutine cecent2sph(a, bb)
subroutine cllh2ecent(llh, xyz)
subroutine cecent2llh(xyz, llh)
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz Zfirst pos xyz sys
subroutine csph2llh(sph, llh)
subroutine cllh2sph(llh, sph)