Changeset 3684
- Timestamp:
- Mar 14, 2025, 3:01:04 PM (3 months ago)
- Location:
- trunk/LMDZ.PLUTO/libf/phypluto
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/LMDZ.PLUTO/libf/phypluto/callcorrk.F90 ¶
r3627 r3684 32 32 use comcstfi_mod, only: pi, mugaz, cpp, r, g 33 33 use callkeys_mod, only: diurnal,tracer,varfixed, & 34 diagdtau,kastprof,strictboundcorrk,specOLR, &34 kastprof,strictboundcorrk,specOLR, & 35 35 tplanckmin,tplanckmax,global1d, & 36 36 optichaze,haze_radproffix,& … … 1061 1061 end do 1062 1062 1063 ! Optical thickness diagnostics (added by JVO) 1064 if (diagdtau) then 1065 do l=1,L_NLAYRAD 1066 do nw=1,L_NSPECTV 1067 int_dtauv(ig,l,nw) = 0.0d0 1068 DO k=1,L_NGAUSS 1069 ! Output exp(-tau) because gweight ponderates exp and not tau itself 1070 int_dtauv(ig,l,nw)= int_dtauv(ig,l,nw) + exp(-dtauv(l,nw,k))*gweight(k) 1071 ENDDO 1072 enddo 1073 do nw=1,L_NSPECTI 1074 int_dtaui(ig,l,nw) = 0.0d0 1075 DO k=1,L_NGAUSS 1076 ! Output exp(-tau) because gweight ponderates exp and not tau itself 1077 int_dtaui(ig,l,nw)= int_dtaui(ig,l,nw) + exp(-dtaui(l,nw,k))*gweight(k) 1078 ENDDO 1079 enddo 1080 enddo 1081 endif 1063 ! Optical thickness diagnostics 1064 ! Output exp(-tau) because gweight ponderates exp and not tau itself 1065 int_dtauv(ig,:,:) = 0.0d0 1066 int_dtaui(ig,:,:) = 0.0d0 1067 do l=1,L_NLAYRAD 1068 do nw=1,L_NSPECTV 1069 do k=1,L_NGAUSS 1070 int_dtauv(ig,l,nw)= int_dtauv(ig,l,nw) + exp(-dtauv(l,nw,k))*gweight(k) 1071 enddo 1072 enddo 1073 do nw=1,L_NSPECTI 1074 do k=1,L_NGAUSS 1075 int_dtaui(ig,l,nw)= int_dtaui(ig,l,nw) + exp(-dtaui(l,nw,k))*gweight(k) 1076 enddo 1077 enddo 1078 enddo 1082 1079 1083 1080 ! ********************************************************** -
TabularUnified trunk/LMDZ.PLUTO/libf/phypluto/callkeys_mod.F90 ¶
r3652 r3684 22 22 logical,save :: specOLR 23 23 logical,save :: kastprof 24 logical,save :: diagdtau 25 !$OMP THREADPRIVATE(enertest,nonideal,meanOLR,kastprof,diagdtau) 24 !$OMP THREADPRIVATE(enertest,nonideal,meanOLR,kastprof) 26 25 logical,save :: newtonian 27 26 logical,save :: force_cpp -
TabularUnified trunk/LMDZ.PLUTO/libf/phypluto/inifis_mod.F90 ¶
r3652 r3684 375 375 if (is_master) write(*,*)trim(rname)//": specOLR = ",specOLR 376 376 377 if (is_master) write(*,*)trim(rname)//&378 ": Output diagnostic optical thickness attenuation exp(-tau)?"379 diagdtau=.false.380 call getin_p("diagdtau",diagdtau)381 if (is_master) write(*,*)trim(rname)//": diagdtau = ",diagdtau382 383 377 if (is_master) write(*,*)trim(rname)//": Operate in kastprof mode?" 384 378 kastprof=.false. -
TabularUnified trunk/LMDZ.PLUTO/libf/phypluto/physiq_mod.F90 ¶
r3683 r3684 48 48 callrad, callsoil, nosurf, & 49 49 callconduct,callmolvis,callmoldiff, & 50 corrk, diagdtau,&50 corrk, & 51 51 diurnal, enertest, fat1au, & 52 52 icetstep, intheat, iradia, kastprof, & … … 2190 2190 2191 2191 ! Diagnostics of optical thickness 2192 ! Warning this is exp(-tau), I let you postproc with -log to have tau itself - JVO 19 2193 if (diagdtau.and..not.oldplutocorrk) then 2194 do nw=1,L_NSPECTV 2195 write(str2,'(i2.2)') nw 2196 call write_output('dtauv'//str2,'Layer optical thickness attenuation in VI band '//str2,'',int_dtauv(:,nlayer:1:-1,nw)) 2197 enddo 2198 do nw=1,L_NSPECTI 2199 write(str2,'(i2.2)') nw 2200 call write_output('dtaui'//str2,'Layer optical thickness attenuation in IR band '//str2,'',int_dtaui(:,nlayer:1:-1,nw)) 2201 enddo 2202 endif 2203 2192 ! Warning this is exp(-tau), I let you postproc with -log to have tau itself 2193 !do nw=1,L_NSPECTV 2194 ! write(str2,'(i2.2)') nw 2195 ! call write_output('dtauv'//str2,'Layer optical thickness attenuation in VI band '//str2,'',int_dtauv(:,nlayer:1:-1,nw)) 2196 !enddo 2197 !do nw=1,L_NSPECTI 2198 ! write(str2,'(i2.2)') nw 2199 ! call write_output('dtaui'//str2,'Layer optical thickness attenuation in IR band '//str2,'',int_dtaui(:,nlayer:1:-1,nw)) 2200 !enddo 2201 2204 2202 ! Temporary inclusions for heating diagnostics. 2205 2203 if (.not.fast) then
Note: See TracChangeset
for help on using the changeset viewer.