Last change
on this file since 1303 was
253,
checked in by emillour, 13 years ago
|
Generic GCM
- Massive update to version 0.7
EM+RW
|
File size:
1.2 KB
|
Rev | Line | |
---|
[253] | 1 | subroutine orbite(pls,pdist_star,pdecli) |
---|
| 2 | implicit none |
---|
[135] | 3 | |
---|
[253] | 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 | |
---|
[135] | 22 | c Declarations: |
---|
| 23 | c ------------- |
---|
| 24 | |
---|
| 25 | #include "planete.h" |
---|
| 26 | #include "comcstfi.h" |
---|
| 27 | |
---|
| 28 | c arguments: |
---|
| 29 | c ---------- |
---|
| 30 | |
---|
[253] | 31 | REAL pday,pdist_star,pdecli,pls,i |
---|
[135] | 32 | |
---|
| 33 | c----------------------------------------------------------------------- |
---|
| 34 | |
---|
[253] | 35 | c Star-Planet Distance |
---|
[135] | 36 | |
---|
[253] | 37 | pdist_star = p_elips/(1.+e_elips*cos(pls+timeperi)) |
---|
[135] | 38 | |
---|
[253] | 39 | c Stellar declination |
---|
[135] | 40 | |
---|
| 41 | c ********************* version before 01/01/2000 ******* |
---|
| 42 | |
---|
[253] | 43 | pdecli = asin (sin(pls)*sin(obliquit*pi/180.)) |
---|
[135] | 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.