Ignore:
Timestamp:
Mar 18, 2008, 6:04:15 PM (17 years ago)
Author:
lmdzadmin
Message:

Bug variable d_tr_cv non-definie, cas iflag_con different de 2,3 FH
IM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/phytrac.F

    r864 r928  
    642642c======================================================================
    643643c     print*,'Avant convection'
    644 c      do it=1,nqmax
    645 c         WRITE(itn,'(i2)') it
     644       do it=1,nqmax
     645          WRITE(itn,'(i2)') it
    646646c        call diagtracphy(tr_seri(:,:,it),paprs,'Avant conv'//itn)
    647 c      enddo
     647       enddo
    648648
    649649      if (convection) then
     
    654654      IF ( conv_flg(it) == 0 ) CYCLE
    655655#endif
    656       if (iflag_con.eq.2) then
     656      if (iflag_con.lt.2) then
     657       d_tr_cv=0.
     658      else if (iflag_con.eq.2) then
    657659c tiedke
    658660      CALL nflxtr(pdtphys, pmfu, pmfd, pen_u, pde_u, pen_d, pde_d,
    659661     .            pplay, paprs, tr_seri(1,1,it), d_tr_cv(1,1,it))
    660       else if (iflag_con.eq.3) then
     662      else
    661663c KE
    662664      call cvltr(pdtphys, da, phi, mp, paprs,pplay, tr_seri(1,1,it),
     
    664666      endif
    665667
    666       DO k = 1, nlev
    667       DO i = 1, klon
     668       DO k = 1, nlev
     669       DO i = 1, klon
    668670         tr_seri(i,k,it) = tr_seri(i,k,it) + d_tr_cv(i,k,it)
    669       ENDDO
    670       ENDDO
     671       ENDDO
     672       ENDDO
    671673#ifdef INCA
    672674      CALL minmaxqfi(tr_seri(1,1,it),0.,1.e33,'convection it = '
Note: See TracChangeset for help on using the changeset viewer.