|
Last change
on this file since 1242 was
1233,
checked in by aslmd, 12 years ago
|
|
LMDZ.MARS. Filling geom arrays is now out of phys_var_state_init. Done through a merged function ini_fillgeom within the comgeomfi_h module. Cosmetic changes. New interface with the mesoscale model: lesser amount of dirty MESOSCALE includes.
|
|
File size:
1.3 KB
|
| Rev | Line | |
|---|
| [38] | 1 | SUBROUTINE orbite(pls,pdist_sol,pdecli) |
|---|
| [1226] | 2 | use planete_h |
|---|
| 3 | USE comcstfi_h |
|---|
| [38] | 4 | IMPLICIT NONE |
|---|
| 5 | |
|---|
| 6 | c======================================================================= |
|---|
| 7 | c |
|---|
| 8 | c Objet: |
|---|
| 9 | c ------ |
|---|
| 10 | c |
|---|
| 11 | c Distance from sun and declimation as a function of the solar |
|---|
| 12 | c longitude Ls |
|---|
| 13 | c |
|---|
| 14 | c Interface: |
|---|
| 15 | c ---------- |
|---|
| 16 | c |
|---|
| 17 | c |
|---|
| 18 | c |
|---|
| 19 | c Arguments: |
|---|
| 20 | c ---------- |
|---|
| 21 | c |
|---|
| 22 | c Input: |
|---|
| 23 | c ------ |
|---|
| 24 | c pls Ls |
|---|
| 25 | c |
|---|
| 26 | c Output: |
|---|
| 27 | c ------- |
|---|
| 28 | c pdist_sol Distance Sun-Planet in UA |
|---|
| 29 | c pdecli declinaison ( en radians ) |
|---|
| 30 | c |
|---|
| 31 | c======================================================================= |
|---|
| 32 | c----------------------------------------------------------------------- |
|---|
| 33 | c Declarations: |
|---|
| 34 | c ------------- |
|---|
| 35 | |
|---|
| 36 | c arguments: |
|---|
| 37 | c ---------- |
|---|
| 38 | |
|---|
| [1233] | 39 | REAL pdist_sol,pdecli,pls,i |
|---|
| [38] | 40 | |
|---|
| 41 | c----------------------------------------------------------------------- |
|---|
| 42 | |
|---|
| 43 | c Distance Sun-Planet |
|---|
| 44 | |
|---|
| 45 | pdist_sol=p_elips/(1.+e_elips*cos(pls+timeperi)) |
|---|
| 46 | |
|---|
| 47 | c Solar declination |
|---|
| 48 | |
|---|
| 49 | c ********************* version before 01/01/2000 ******* |
|---|
| 50 | |
|---|
| 51 | pdecli= asin (sin(pls)*sin(obliquit*pi/180.)) |
|---|
| 52 | |
|---|
| 53 | c ********************* version after 01/01/2000 ******* |
|---|
| 54 | c i=obliquit*pi/180. |
|---|
| 55 | c pdecli=asin(sin(pls)*sin(i)/sqrt(sin(pls)**2+ |
|---|
| 56 | c & cos(pls)**2*cos(i)**2)) |
|---|
| 57 | c ****************************************************** |
|---|
| 58 | |
|---|
| 59 | |
|---|
| 60 | |
|---|
| 61 | RETURN |
|---|
| 62 | END |
|---|
Note: See
TracBrowser
for help on using the repository browser.