Changeset 1368
- Timestamp:
- Nov 17, 2014, 10:14:16 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/orbite.F
r1233 r1368 1 1 SUBROUTINE orbite(pls,pdist_sol,pdecli) 2 use planete_h3 USE comcstfi_h 2 USE planete_h, ONLY: e_elips, p_elips, obliquit, timeperi 3 USE comcstfi_h, ONLY: pi 4 4 IMPLICIT NONE 5 5 6 6 c======================================================================= 7 7 c 8 c Objet: 9 c ------ 10 c 11 c Distance from sun and declimation as a function of the solar 8 c Compute distance to Sun and declination as a function of the solar 12 9 c longitude Ls 13 c14 c Interface:15 c ----------16 c17 c18 10 c 19 11 c Arguments: … … 22 14 c Input: 23 15 c ------ 24 c pls Ls 16 c pls Ls (radians) 25 17 c 26 18 c Output: 27 19 c ------- 28 20 c pdist_sol Distance Sun-Planet in UA 29 c pdecli declinaison ( en radians )21 c pdecli declinaison ( in radians ) 30 22 c 31 23 c======================================================================= 32 c-----------------------------------------------------------------------33 c Declarations:34 c -------------35 24 36 25 c arguments: 37 26 c ---------- 38 27 39 REAL pdist_sol,pdecli,pls,i 28 REAL,INTENT(IN) :: pls 29 REAL,INTENT(OUT) :: pdist_sol,pdecli 40 30 41 31 c----------------------------------------------------------------------- … … 47 37 c Solar declination 48 38 49 c ********************* version before 01/01/2000 *******50 51 39 pdecli= asin (sin(pls)*sin(obliquit*pi/180.)) 52 40 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 RETURN62 41 END
Note: See TracChangeset
for help on using the changeset viewer.