Changeset 2879
- Timestamp:
- Jan 25, 2023, 1:51:23 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2840 r2879 888 888 c Local Solar zenith angle 889 889 c ~~~~~~~~~~~~~~~~~~~~~~~~ 890 write(*,*) 'mu0=',mu0(:) 890 891 CALL orbite(zls,dist_sol,declin) 891 892 write(*,*) 'mu0=',mu0(:) 892 893 IF (diurnal) THEN 893 894 ztim1=SIN(declin) … … 901 902 CALL mucorr(ngrid,declin,latitude,mu0,fract,10000.,rad) 902 903 ENDIF ! of IF (diurnal) 903 904 write(*,*) 'mu0=',mu0(:),zls,declin 904 905 IF( MOD(icount-1,iradia).EQ.0) THEN 905 906 … … 1066 1067 c --------------------------------------------------------- 1067 1068 IF(callslope) THEN 1068 1069 write(*,*) 'Flux=',fluxsurf_dn_sw(:,1),fluxsurf_dn_sw(:,2) 1070 write(*,*) 'mu0=',mu0(:),zls,declin 1069 1071 print *, 'Slope scheme is on and computing...' 1070 1072 DO ig=1,ngrid … … 1081 1083 sl_fl0 = fluxsurf_dn_sw(ig,l) 1082 1084 sl_di0 = 0. 1083 if ( mu0(ig) .gt. 0.) then1085 if ((mu0(ig) .gt. 0.).and.(ztim1.gt.0.)) then 1084 1086 sl_di0 = mu0(ig)*(exp(-sl_tau/mu0(ig))) 1085 1087 sl_di0 = sl_di0*flux_1AU/dist_sol/dist_sol
Note: See TracChangeset
for help on using the changeset viewer.