Last change
on this file since 2156 was
1368,
checked in by emillour, 10 years ago
|
Mars GCM:
Some cleanup in orbit.F
EM
|
File size:
939 bytes
|
Line | |
---|
1 | SUBROUTINE orbite(pls,pdist_sol,pdecli) |
---|
2 | USE planete_h, ONLY: e_elips, p_elips, obliquit, timeperi |
---|
3 | USE comcstfi_h, ONLY: pi |
---|
4 | IMPLICIT NONE |
---|
5 | |
---|
6 | c======================================================================= |
---|
7 | c |
---|
8 | c Compute distance to Sun and declination as a function of the solar |
---|
9 | c longitude Ls |
---|
10 | c |
---|
11 | c Arguments: |
---|
12 | c ---------- |
---|
13 | c |
---|
14 | c Input: |
---|
15 | c ------ |
---|
16 | c pls Ls (radians) |
---|
17 | c |
---|
18 | c Output: |
---|
19 | c ------- |
---|
20 | c pdist_sol Distance Sun-Planet in UA |
---|
21 | c pdecli declinaison ( in radians ) |
---|
22 | c |
---|
23 | c======================================================================= |
---|
24 | |
---|
25 | c arguments: |
---|
26 | c ---------- |
---|
27 | |
---|
28 | REAL,INTENT(IN) :: pls |
---|
29 | REAL,INTENT(OUT) :: pdist_sol,pdecli |
---|
30 | |
---|
31 | c----------------------------------------------------------------------- |
---|
32 | |
---|
33 | c Distance Sun-Planet |
---|
34 | |
---|
35 | pdist_sol=p_elips/(1.+e_elips*cos(pls+timeperi)) |
---|
36 | |
---|
37 | c Solar declination |
---|
38 | |
---|
39 | pdecli= asin (sin(pls)*sin(obliquit*pi/180.)) |
---|
40 | |
---|
41 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.