Ignore:
Timestamp:
Jan 14, 2010, 3:35:30 PM (14 years ago)
Author:
Laurent Fairhead
Message:

Modifications pour la nouvelle version des thermiques (2009/2010) CR et FH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4V5.0-dev/libf/phylmd/calltherm.F90

    r1146 r1294  
    4545!********************************************************
    4646!     declarations
     47      LOGICAL flag_bidouille_stratocu
    4748      real fmc_therm(klon,klev+1),zqasc(klon,klev)
    4849      real zqla(klon,klev)
     
    187188     &      ,r_aspect_thermals,l_mix_thermals,w2di_thermals  &
    188189     &      ,tau_thermals)
    189           else if (iflag_thermals.ge.13) then
    190             CALL thermcell_main(itap,klon,klev,zdt  &
     190          else if (iflag_thermals==13.or.iflag_thermals==14) then
     191            CALL thermcellV0_main(itap,klon,klev,zdt  &
    191192     &      ,pplay,paprs,pphi,debut  &
    192193     &      ,u_seri,v_seri,t_seri,q_seri  &
     
    197198     &      ,tau_thermals,Ale,Alp,lalim_conv,wght_th &
    198199     &      ,zmax0,f0,zw2,fraca)
     200          else if (iflag_thermals==15.or.iflag_thermals==16) then
     201            CALL thermcell_main(itap,klon,klev,zdt  &
     202     &      ,pplay,paprs,pphi,debut  &
     203     &      ,u_seri,v_seri,t_seri,q_seri  &
     204     &      ,d_u_the,d_v_the,d_t_the,d_q_the  &
     205     &      ,zfm_therm,zentr_therm,zdetr_therm,zqasc,zqla,lmax  &
     206     &      ,ratqscth,ratqsdiff,zqsatth  &
     207     &      ,r_aspect_thermals,l_mix_thermals  &
     208     &      ,tau_thermals,Ale,Alp,lalim_conv,wght_th &
     209     &      ,zmax0,f0,zw2,fraca)
     210           if (prt_level.gt.10) write(lunout,*)'Apres thermcell_main OK'
     211         else
     212            STOP'Cas des thermiques non prevu'
    199213         endif
    200214
     215       flag_bidouille_stratocu=iflag_thermals.lt.14.or.iflag_thermals.lt.16
    201216
    202217      fact(:)=0.
    203218      DO i=1,klon
    204        logexpr1(i)=iflag_thermals.lt.14.or.weak_inversion(i).gt.0.5
     219       logexpr1(i)=flag_bidouille_stratocu.or.weak_inversion(i).gt.0.5
    205220       IF(logexpr1(i)) fact(i)=1./float(nsplit_thermals)
    206221      ENDDO
     
    235250            qmemoire(:,:)=q_seri(:,:)
    236251            q_seri(:,:) = q_seri(:,:) + d_q_the(:,:)
     252           if (prt_level.gt.10) write(lunout,*)'Apres apres thermcell_main OK'
    237253
    238254       DO i=1,klon
Note: See TracChangeset for help on using the changeset viewer.