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

Last change on this file since 4187 was 4176, checked in by dubos, 5 years ago

simple_physics : copy code from FH

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