Ignore:
Timestamp:
Jul 18, 2013, 10:20:28 AM (11 years ago)
Author:
Ehouarn Millour
Message:

Version testing basee sur la r1794


Testing release based on r1794

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/phylmd/phys_state_var_mod.F90

    r1750 r1795  
    6363!$OMP THREADPRIVATE(ratqs)
    6464      REAL, ALLOCATABLE, SAVE :: pbl_tke(:,:,:) ! turb kinetic energy
    65 !$OMP THREADPRIVATE(pbl_tke)
     65      REAL, ALLOCATABLE, SAVE :: coefh(:,:,:) ! Kz enthalpie
     66      REAL, ALLOCATABLE, SAVE :: coefm(:,:,:) ! Kz momentum
     67!$OMP THREADPRIVATE(pbl_tke, coefh,coefm)
    6668      REAL, ALLOCATABLE, SAVE :: zmax0(:), f0(:) !
    6769!$OMP THREADPRIVATE(zmax0,f0)
     
    359361!======================================================================
    360362SUBROUTINE phys_state_var_init(read_climoz)
    361 use dimphy
     363USE dimphy
    362364USE control_mod
    363 use aero_mod
    364 use infotrac, ONLY : nbtr
     365USE aero_mod
     366USE infotrac, ONLY : nbtr
     367USE indice_sol_mod
    365368IMPLICIT NONE
    366369
     
    373376! climatology and the daylight climatology
    374377
    375 #include "indicesol.h"
    376378      ALLOCATE(rlat(klon), rlon(klon))
    377379      ALLOCATE(pctsrf(klon,nbsrf))
     
    394396      ALLOCATE(clwcon(klon,klev),rnebcon(klon,klev))
    395397      ALLOCATE(ratqs(klon,klev))
    396       ALLOCATE(pbl_tke(klon,klev+1,nbsrf))
     398      ALLOCATE(pbl_tke(klon,klev+1,nbsrf+1))
     399      ALLOCATE(coefh(klon,klev+1,nbsrf+1))
     400      ALLOCATE(coefm(klon,klev+1,nbsrf+1))
    397401      ALLOCATE(zmax0(klon), f0(klon))
    398402      ALLOCATE(ema_work1(klon,klev), ema_work2(klon,klev))
     
    518522!======================================================================
    519523SUBROUTINE phys_state_var_end
    520 use dimphy
    521 use control_mod
     524USE dimphy
     525USE control_mod
     526USE indice_sol_mod
    522527IMPLICIT NONE
    523 #include "indicesol.h"
    524528
    525529      deallocate(rlat, rlon, pctsrf, ftsol, falb1, falb2)
     
    530534      deallocate(        u_ancien, v_ancien                 )
    531535      deallocate(        tr_ancien)                           !RomP
    532       deallocate(ratqs, pbl_tke)
     536      deallocate(ratqs, pbl_tke,coefh,coefm)
    533537      deallocate(zmax0, f0)
    534538      deallocate(ema_work1, ema_work2)
Note: See TracChangeset for help on using the changeset viewer.