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