source: trunk/LMDZ.PLUTO/libf/phypluto/orbitetriton.F @ 3247

Last change on this file since 3247 was 3247, checked in by afalco, 9 months ago

Added missing files from pluto.old

File size: 1.6 KB
Line 
1      SUBROUTINE orbitetriton(pls,pzday,pdist_sol,pdecli)
2
3      use planete_mod, only: p_elips, e_elips, timeperi, obliquit
4      use comcstfi_mod, only: pi
5      use comconst_mod, only: daysec
6      IMPLICIT NONE
7
8c=======================================================================
9c
10c   Objet:
11c   ------
12c
13c   Distance from sun and declination as a function of the solar
14c   longitude Ls and pday
15c
16c   Input:
17c   ------
18c   pls          Ls
19c   pzday
20c
21c   Output:
22c   -------
23c   pdist_sol     Distance Sun-Planet in UA
24c   pdecli        declinaison ( en radians )
25c
26c=======================================================================
27c   Declarations:
28c   -------------
29
30c arguments:
31c ----------
32
33      REAL pzday,pdist_sol,pdecli,pls
34
35c local variables:
36c----------------
37      REAL AA,BB,CC
38      REAL zanneedebut,zan,zalpha0,zalpha1,zbeta0,zbeta1,zint
39      REAL zanneereference
40
41c--------------------------------------------------------------------
42c Initialisations
43
44      AA=0.429870
45      BB=0.370543
46      CC=0.0225091
47      zalpha0 = 61.52577*pi/180.
48      zalpha1 = 0.038142
49      zbeta0 = -100.79473*pi/180.
50      zbeta1 = 0.009131
51      zanneedebut = 0.
52      zanneereference =  0.
53
54c Distance Sun-Planet
55
56      pdist_sol=p_elips/(1.+e_elips*cos(pls+timeperi))
57
58c Solar declination
59
60      zan  = zanneedebut+(pzday*daysec/31557595.)-zanneereference
61      zint = AA * cos(zalpha0 - zalpha1 * zan)
62      zint = zint + BB*sin(zalpha0-zbeta0+(zbeta1-zalpha1)*zan)
63      zint = zint + CC*sin(zalpha0+zbeta0-(zalpha1+zbeta1)*zan)
64      pdecli = -asin (zint)
65
66      RETURN
67      END
Note: See TracBrowser for help on using the repository browser.