Last change
on this file since 61 was
38,
checked in by emillour, 15 years ago
|
Ajout du modè Martien (mon LMDZ.MARS.BETA, du 28/01/2011) dans le rértoire mars, pour pouvoir suivre plus facilement les modifs.
EM
|
File size:
1.3 KB
|
Rev | Line | |
---|
[38] | 1 | SUBROUTINE orbite(pls,pdist_sol,pdecli) |
---|
| 2 | IMPLICIT NONE |
---|
| 3 | |
---|
| 4 | c======================================================================= |
---|
| 5 | c |
---|
| 6 | c Objet: |
---|
| 7 | c ------ |
---|
| 8 | c |
---|
| 9 | c Distance from sun and declimation as a function of the solar |
---|
| 10 | c longitude Ls |
---|
| 11 | c |
---|
| 12 | c Interface: |
---|
| 13 | c ---------- |
---|
| 14 | c |
---|
| 15 | c |
---|
| 16 | c |
---|
| 17 | c Arguments: |
---|
| 18 | c ---------- |
---|
| 19 | c |
---|
| 20 | c Input: |
---|
| 21 | c ------ |
---|
| 22 | c pls Ls |
---|
| 23 | c |
---|
| 24 | c Output: |
---|
| 25 | c ------- |
---|
| 26 | c pdist_sol Distance Sun-Planet in UA |
---|
| 27 | c pdecli declinaison ( en radians ) |
---|
| 28 | c |
---|
| 29 | c======================================================================= |
---|
| 30 | c----------------------------------------------------------------------- |
---|
| 31 | c Declarations: |
---|
| 32 | c ------------- |
---|
| 33 | |
---|
| 34 | #include "planete.h" |
---|
| 35 | #include "comcstfi.h" |
---|
| 36 | |
---|
| 37 | c arguments: |
---|
| 38 | c ---------- |
---|
| 39 | |
---|
| 40 | REAL pday,pdist_sol,pdecli,pls,i |
---|
| 41 | |
---|
| 42 | c----------------------------------------------------------------------- |
---|
| 43 | |
---|
| 44 | c Distance Sun-Planet |
---|
| 45 | |
---|
| 46 | pdist_sol=p_elips/(1.+e_elips*cos(pls+timeperi)) |
---|
| 47 | |
---|
| 48 | c Solar declination |
---|
| 49 | |
---|
| 50 | c ********************* version before 01/01/2000 ******* |
---|
| 51 | |
---|
| 52 | pdecli= asin (sin(pls)*sin(obliquit*pi/180.)) |
---|
| 53 | |
---|
| 54 | c ********************* version after 01/01/2000 ******* |
---|
| 55 | c i=obliquit*pi/180. |
---|
| 56 | c pdecli=asin(sin(pls)*sin(i)/sqrt(sin(pls)**2+ |
---|
| 57 | c & cos(pls)**2*cos(i)**2)) |
---|
| 58 | c ****************************************************** |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | RETURN |
---|
| 63 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.