source: dynamico_lmdz/simple_physics/phyparam/param/orbite.F @ 4191

Last change on this file since 4191 was 4190, checked in by dubos, 6 years ago

simple_physics : cleanup astronomy

File size: 1.0 KB
Line 
1      SUBROUTINE orbite(pls,pdist_sol,pdecli)
2      USE astronomy
3      IMPLICIT NONE
4
5c=======================================================================
6c
7c   Objet:
8c   ------
9c
10c   Distance from sun and declimation as a function of the solar
11c   longitude Ls
12c
13c   Interface:
14c   ----------
15c
16c    common 'comorbit.h' initialized by comorbit.f
17c
18c   Arguments:
19c   ----------
20c
21c   Input:
22c   ------
23c   pls          Ls
24c
25c   Output:
26c   -------
27c   pdist_sol     Distance Sun-Planet in UA
28c   pdecli        declinaison ( en radians )
29c
30c=======================================================================
31c-----------------------------------------------------------------------
32c   Declarations:
33c   -------------
34
35c arguments:
36c ----------
37
38      REAL pday,pdist_sol,pdecli,pls
39
40c-----------------------------------------------------------------------
41
42c Distance Sun-Planet
43
44      pdist_sol=p_elips/(1.+e_elips*cos(pls+timeperi))
45
46c Solar declination
47
48      pdecli= asin (sin(pls)*sin(obliquit*pi/180.))
49
50      RETURN
51      END
Note: See TracBrowser for help on using the repository browser.