Changeset 1496 for LMDZ5/trunk/libf/phylmd/physiq.F
- Timestamp:
- Mar 11, 2011, 10:44:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/physiq.F
r1493 r1496 1234 1234 . flag_aerosol, new_aod, 1235 1235 . bl95_b0, bl95_b1, 1236 . iflag_thermals,nsplit_thermals,tau_thermals,1237 . iflag_thermals_ed,iflag_thermals_optflux,1238 1236 c nv flags pour la convection et les poches froides 1239 . iflag_coupl,iflag_clos,iflag_wake,read_climoz,1237 . read_climoz, 1240 1238 & alp_offset) 1241 1239 call phys_state_var_init(read_climoz) … … 2846 2844 if (iflag_cldcon>=5) then 2847 2845 2846 ptconvth(:,:)=fm_therm(:,:)>0. 2847 2848 if (iflag_coupl==4) then 2849 2850 ! Dans le cas iflag_coupl==4, on prend la somme des convertures 2851 ! convectives et lsc dans la partie des thermiques 2852 ! Le controle par iflag_coupl est peut etre provisoire. 2853 do k=1,klev 2854 do i=1,klon 2855 if (ptconv(i,k).and.ptconvth(i,k)) then 2856 cldliq(i,k)=cldliq(i,k)+rnebcon(i,k)*clwcon(i,k) 2857 cldfra(i,k)=min(cldfra(i,k)+rnebcon(i,k),1.) 2858 else if (ptconv(i,k)) then 2859 cldfra(i,k)=rnebcon(i,k) 2860 cldliq(i,k)=rnebcon(i,k)*clwcon(i,k) 2861 endif 2862 enddo 2863 enddo 2864 2865 else 2848 2866 ! Si on est sur un point touche par la convection profonde et pas 2849 2867 ! par les thermiques, on prend la couverture nuageuse et l'eau nuageuse … … 2852 2870 !IM/FH: 2011/02/23 2853 2871 ! definition des points sur lesquels ls thermiques sont actifs 2854 if (prt_level>9)write(*,*)'TEST SCHEMA DE NUAGES ' 2855 ptconvth(:,:)=fm_therm(:,:)>0. 2872 2856 2873 do k=1,klev 2857 2874 do i=1,klon … … 2862 2879 enddo 2863 2880 enddo 2881 2882 endif 2883 2864 2884 else 2885 2865 2886 ! Ancienne version 2866 2887 cldfra(:,:)=min(max(cldfra(:,:),rnebcon(:,:)),1.)
Note: See TracChangeset
for help on using the changeset viewer.