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 | |
---|
5 | c======================================================================= |
---|
6 | c |
---|
7 | c Objet: |
---|
8 | c ------ |
---|
9 | c |
---|
10 | c Distance from sun and declination as a function of the solar |
---|
11 | c longitude Ls and pday |
---|
12 | c |
---|
13 | c Input: |
---|
14 | c ------ |
---|
15 | c pls Ls |
---|
16 | c pzday |
---|
17 | c |
---|
18 | c Output: |
---|
19 | c ------- |
---|
20 | c pdist_sol Distance Sun-Planet in UA |
---|
21 | c pdecli declinaison ( en radians ) |
---|
22 | c |
---|
23 | c======================================================================= |
---|
24 | c Declarations: |
---|
25 | c ------------- |
---|
26 | |
---|
27 | !#include "planete.h" |
---|
28 | #include "comcstfi.h" |
---|
29 | |
---|
30 | c arguments: |
---|
31 | c ---------- |
---|
32 | |
---|
33 | REAL pzday,pdist_sol,pdecli,pls |
---|
34 | |
---|
35 | c local variables: |
---|
36 | c---------------- |
---|
37 | REAL AA,BB,CC |
---|
38 | REAL zanneedebut,zan,zalpha0,zalpha1,zbeta0,zbeta1,zint |
---|
39 | REAL zanneereference |
---|
40 | |
---|
41 | c-------------------------------------------------------------------- |
---|
42 | c 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 | |
---|
54 | c Distance Sun-Planet |
---|
55 | |
---|
56 | pdist_sol=p_elips/(1.+e_elips*cos(pls+timeperi)) |
---|
57 | |
---|
58 | c 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.