Changeset 3148


Ignore:
Timestamp:
Jan 15, 2018, 2:41:25 PM (7 years ago)
Author:
musat
Message:

Bug fix for ratqsc (add save/OMP THREADPRIVATE) and itau_con counter
JYG/IM

Location:
LMDZ6/trunk/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/phys_local_var_mod.F90

    r3134 r3148  
    368368      LOGICAL, SAVE, ALLOCATABLE :: ptconv(:,:)
    369369      !$OMP THREADPRIVATE(ptconv)
     370      REAL, SAVE, ALLOCATABLE :: ratqsc(:,:)
     371      !$OMP THREADPRIVATE(ratqsc)
    370372!>jyg+nrlmd
    371373  !
     
    731733!
    732734      ALLOCATE(ptconv(klon,klev))
     735      ALLOCATE(ratqsc(klon,klev))
    733736!
    734737      ALLOCATE(wbeff(klon), convoccur(klon), zmax_th(klon))
     
    10221025!
    10231026      DEALLOCATE(ptconv)
     1027      DEALLOCATE(ratqsc)
    10241028!
    10251029      DEALLOCATE(wbeff, convoccur, zmax_th)
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r3134 r3148  
    157157!!!       d_s_the, d_dens_the, &            ! due to thermals
    158158       !                                 
    159        ptconv, &
     159       ptconv, ratqsc, &
    160160       wbeff, convoccur, zmax_th, &
    161161       sens, flwp, fiwp,  &
     
    901901    INTEGER kcbot(klon), kctop(klon), kdtop(klon)
    902902    !
    903     REAL ratqsc(klon,klev)
    904903    real ratqsbas,ratqshaut,tau_ratqs
    905904    save ratqsbas,ratqshaut,tau_ratqs
     
    26632662
    26642663          DO i = 1, klon
    2665              IF (iflagctrl(i).le.1) itau_con(i)=itau_con(i)+1
     2664             IF (iflagctrl(i).le.1) itau_con(i)=itau_con(i)+cvpas
    26662665          ENDDO
    26672666          !
Note: See TracChangeset for help on using the changeset viewer.