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

Last change on this file since 3436 was 3175, checked in by emillour, 11 months ago

Pluto PCM:
Add the old Pluto LMDZ for reference (required prior step to making
an LMDZ.PLUTO using the same framework as the other physics packages).
TB+EM

File size: 1.5 KB
Line 
1      SUBROUTINE orbitetriton(pls,pzday,pdist_sol,pdecli)
2      use planet_h         
3      IMPLICIT NONE
4
5c=======================================================================
6c
7c   Objet:
8c   ------
9c
10c   Distance from sun and declination as a function of the solar
11c   longitude Ls and pday
12c
13c   Input:
14c   ------
15c   pls          Ls
16c   pzday
17c
18c   Output:
19c   -------
20c   pdist_sol     Distance Sun-Planet in UA
21c   pdecli        declinaison ( en radians )
22c
23c=======================================================================
24c   Declarations:
25c   -------------
26
27!#include "planete.h"
28#include "comcstfi.h"
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.