- Timestamp:
- Mar 10, 2015, 8:36:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/fisrtilp.F90
r2205 r2223 783 783 else if (iflag_fisrtilp_qsat.gt.0) then 784 784 DO i= 1, klon 785 if (lognormale(i)) then786 zt(i)=Tbef(i)787 else788 785 zt(i) = zt(i) + zcond(i) * RLVTT/RCPD/(1.0+RVTMP2*(zq(i)+zcond(i))) 789 endif790 786 ENDDO 791 787 endif … … 800 796 ! t_glace_max, exposant_glace) 801 797 if (iflag_t_glace.eq.0) then 802 zfice(i) = 1.0 - ( Tbef(i)-t_glace_min_old) / (RTT-t_glace_min_old)798 zfice(i) = 1.0 - (zt(i)-t_glace_min_old) / (RTT-t_glace_min_old) 803 799 zfice(i) = MIN(MAX(zfice(i),0.0),1.0) 804 800 zfice(i) = zfice(i)**exposant_glace_old … … 809 805 else 810 806 DO i=1, klon 811 if (lognormale(i)) then812 zt(i)=Tbef(i)813 else814 807 ! JBM: icefrac_lsc is now a function contained in icefrac_lsc_mod 815 808 ! zfice(i) = icefrac_lsc(zt(i), t_glace_min, & 816 809 ! t_glace_max, exposant_glace) 817 810 if (iflag_t_glace.eq.0) then 818 zfice(i) = 1.0 - ( Tbef(i)-t_glace_min_old) / (RTT-t_glace_min_old)811 zfice(i) = 1.0 - (zt(i)-t_glace_min_old) / (RTT-t_glace_min_old) 819 812 zfice(i) = MIN(MAX(zfice(i),0.0),1.0) 820 813 zfice(i) = zfice(i)**exposant_glace_old … … 822 815 zt(i) = zt(i) + (1.-zfice(i))*zcond(i) * RLVTT/RCPD/(1.0+RVTMP2*(zq(i)+zcond(i))) & 823 816 +zfice(i)*zcond(i) * RLSTT/RCPD/(1.0+RVTMP2*(zq(i)+zcond(i))) 824 endif825 817 ENDDO 826 818 endif
Note: See TracChangeset
for help on using the changeset viewer.