Changeset 3040 for trunk/LMDZ.MARS/libf/phymars/orbite.F
- Timestamp:
- Sep 12, 2023, 11:41:22 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/orbite.F
r1368 r3040 1 1 SUBROUTINE orbite(pls,pdist_sol,pdecli) 2 USE planete_h, ONLY: e_elips, p_elips, obliquit, timeperi2 USE planete_h, ONLY: e_elips, p_elips, obliquit, lsperi 3 3 USE comcstfi_h, ONLY: pi 4 4 IMPLICIT NONE … … 19 19 c ------- 20 20 c pdist_sol Distance Sun-Planet in UA 21 c pdecli declinaison ( in radians )21 c pdecli Declinaison ( in radians ) 22 22 c 23 23 c======================================================================= … … 26 26 c ---------- 27 27 28 REAL,INTENT(IN) :: pls29 REAL,INTENT(OUT) :: pdist_sol, pdecli28 REAL,INTENT(IN) :: pls 29 REAL,INTENT(OUT) :: pdist_sol, pdecli 30 30 31 31 c----------------------------------------------------------------------- 32 32 33 33 c Distance Sun-Planet 34 35 pdist_sol=p_elips/(1.+e_elips*cos(pls+timeperi)) 34 pdist_sol = p_elips/(1.+e_elips*cos(pls-lsperi)) 36 35 37 36 c Solar declination 38 39 pdecli= asin (sin(pls)*sin(obliquit*pi/180.)) 37 pdecli = asin(sin(pls)*sin(obliquit*pi/180.)) 40 38 41 39 END
Note: See TracChangeset
for help on using the changeset viewer.