- Timestamp:
- Dec 20, 2019, 10:02:32 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/simple_physics/phyparam/physics/astronomy.F90
r4192 r4194 1 1 MODULE astronomy 2 3 #include "use_logging.h" 4 2 5 IMPLICIT NONE 3 6 SAVE … … 79 82 80 83 IF (lwrite) THEN 81 PRINT*,'jour de l"annee :',pday 82 PRINT*,'distance au soleil (en unite astronomique) :',pdist_sol 83 PRINT*,'declinaison (en degres) :',pdecli*180./pi 84 WRITELOG(*,*) 'jour de l"annee :',pday 85 WRITELOG(*,*) 'distance au soleil (en unite astronomique) :',pdist_sol 86 WRITELOG(*,*) 'declinaison (en degres) :',pdecli*180./pi 87 CALL flush_log 84 88 ENDIF 85 89 … … 124 128 !----------------------------------------------------------------------- 125 129 126 PRINT*,'Perihelie en Mkm ',periheli127 PRINT*,'Aphelise en Mkm ',aphelie128 PRINT*,'obliquite en degres :',obliquit130 WRITELOG(*,*) 'Perihelie en Mkm ',periheli 131 WRITELOG(*,*) 'Aphelise en Mkm ',aphelie 132 WRITELOG(*,*) 'obliquite en degres :',obliquit 129 133 130 134 e_elips=(aphelie-periheli)/(periheli+aphelie) 131 135 p_elips=0.5*(periheli+aphelie)*(1-e_elips*e_elips)/unitastr 132 136 133 print*,'e_elips',e_elips134 print*,'p_elips',p_elips135 137 WRITELOG(*,*) 'e_elips',e_elips 138 WRITELOG(*,*) 'p_elips',p_elips 139 136 140 !----------------------------------------------------------------------- 137 141 ! calcul de l'angle polaire et de la distance au soleil : … … 143 147 zanom=2.*pi*(zz-nint(zz)) 144 148 zxref=abs(zanom) 145 PRINT*,'zanom ',zanom149 WRITELOG(*,*) 'zanom ',zanom 146 150 147 151 ! resolution de l'equation horaire zx0 - e * sin (zx0) = zxref … … 157 161 zx0=zx0+zdx 158 162 if(zanom.lt.0.) zx0=-zx0 159 PRINT*,'zx0 ',zx0163 WRITELOG(*,*) 'zx0 ',zx0 160 164 161 165 ! zteta est la longitude solaire 162 166 163 167 timeperi=2.*atan(sqrt((1.+e_elips)/(1.-e_elips))*tan(zx0/2.)) 164 PRINT*,'longitude solaire du perihelie timeperi = ',timeperi 165 168 WRITELOG(*,*) 'longitude solaire du perihelie timeperi = ',timeperi 169 170 CALL flush_log 166 171 167 172 END SUBROUTINE iniorbit
Note: See TracChangeset
for help on using the changeset viewer.