Go to the documentation of this file. 1 SUBROUTINE ephem(ISUN,IMOON,ISRP,T,ES,EM)
49 IMPLICIT DOUBLE PRECISION (a-h,o-z)
52 DATA pi,tpi/3.141592653589793d0,6.283185307179586d0/
53 DATA ans,anm/1.720196977d-2,.22997150294101d0/
62 IF (isun.EQ.1.OR.isrp.EQ.1)
THEN
63 es(6)=dmod(6.256583575d0+ans*dt
64 1 -1.9548d-7*dt2-1.22d-9*dt3,tpi)
74 em(4)=4.523601515d0-9.242202942d-4*dt+2.71748d-6*dt2+8.73d-10*dt3
75 em(5)=5.835151539d0+1.944368001d-3*dt-1.35071d-5*dt2-4.538d-9*dt3
77 em(6)=4.719966572d0+anm*dt-1.4835d-6*dt2
78 1 +6.80678d-10*dt3-em(4)-em(5)
80 130 em(i)=dmod(em(i),tpi)
99 cwso=(sw*ce*co+sd*ci)*sso
100 em(4)=datan2(swso,cwso)
102 cdso=(sd*co*ci+sw*ce)*sso
103 del=datan2(sdso,cdso)
subroutine ephem(ISUN, IMOON, ISRP, T, ES, EM)