42 real*8 n, cosphi, sinphi, cosl, sinl, hold
49 temp%h = sqrt( xyz%r(1)**2 + xyz%r(2)**2 +(xyz%r(3)/
50 * (1.
d0 - n*ecen2/(n+temp%h)))**2 ) - n
51 cosphi = sqrt( (xyz%r(1)/(n+temp%h))**2 +
52 * (xyz%r(2)/(n+temp%h))**2 )
53 sinphi = xyz%r(3)/(n*one_ecen2 + temp%h)
55 cosl = xyz%r(1)/(n+temp%h)/cosphi
56 sinl = xyz%r(2)/(n+temp%h)/cosphi
57 n = eradius /sqrt(1.
d0 - ecen2*sinphi**2)
58 if(abs(temp%h -hold) .lt. 1.
d-2)
goto 100
63 temp%lat = atan2(sinphi, cosphi)*todeg
64 temp%long = atan2(sinl, cosl)*todeg
subroutine cecent2llh(xyz, llh)
integer max_coord_types * coord_types(2)/'llh'/
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
dE dx *! Nuc Int sampling table d