Last change
on this file since 374 was
253,
checked in by emillour, 13 years ago
|
Generic GCM
- Massive update to version 0.7
EM+RW
|
File size:
1.2 KB
|
Line | |
---|
1 | subroutine orbite(pls,pdist_star,pdecli) |
---|
2 | implicit none |
---|
3 | |
---|
4 | !================================================================== |
---|
5 | ! |
---|
6 | ! Purpose |
---|
7 | ! ------- |
---|
8 | ! Distance from star and declination as a function of the stellar |
---|
9 | ! longitude Ls |
---|
10 | ! |
---|
11 | ! Inputs |
---|
12 | ! ------ |
---|
13 | ! pls Ls |
---|
14 | ! |
---|
15 | ! Outputs |
---|
16 | ! ------- |
---|
17 | ! pdist_star Distance Star-Planet in UA |
---|
18 | ! pdecli declinaison ( in radians ) |
---|
19 | ! |
---|
20 | !======================================================================= |
---|
21 | |
---|
22 | c Declarations: |
---|
23 | c ------------- |
---|
24 | |
---|
25 | #include "planete.h" |
---|
26 | #include "comcstfi.h" |
---|
27 | |
---|
28 | c arguments: |
---|
29 | c ---------- |
---|
30 | |
---|
31 | REAL pday,pdist_star,pdecli,pls,i |
---|
32 | |
---|
33 | c----------------------------------------------------------------------- |
---|
34 | |
---|
35 | c Star-Planet Distance |
---|
36 | |
---|
37 | pdist_star = p_elips/(1.+e_elips*cos(pls+timeperi)) |
---|
38 | |
---|
39 | c Stellar declination |
---|
40 | |
---|
41 | c ********************* version before 01/01/2000 ******* |
---|
42 | |
---|
43 | pdecli = asin (sin(pls)*sin(obliquit*pi/180.)) |
---|
44 | |
---|
45 | c ********************* version after 01/01/2000 ******* |
---|
46 | c i=obliquit*pi/180. |
---|
47 | c pdecli=asin(sin(pls)*sin(i)/sqrt(sin(pls)**2+ |
---|
48 | c & cos(pls)**2*cos(i)**2)) |
---|
49 | c ****************************************************** |
---|
50 | |
---|
51 | RETURN |
---|
52 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.