Ignore:
Timestamp:
Jul 21, 2017, 4:02:38 PM (8 years ago)
Author:
mlefevre
Message:

Mesoscale modification for Venus LMD physics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.VENUS/libf/phyvenus/yamada4.F

    r1530 r1723  
    88c.......................................................................
    99      use dimphy
     10      use turb_mod, only: q2,l0
    1011      IMPLICIT NONE
    1112c.......................................................................
     
    8182      real m2cstat,mcstat,kmcstat
    8283      real l(klon,klev+1)
    83       real,save,allocatable :: l0(:)
     84      !real,save,allocatable :: l0(:)
    8485c  ATTENTION! mis ici car j'ai enlevé q2 des arguments...
    8586c   sinon, c'est au-dessus que ça se passe...
    86       REAL,save,allocatable :: q2(:,:)
     87      !REAL,save,allocatable :: q2(:,:)
    8788
    8889      real sq(klon),sqz(klon),zz(klon,klev+1)
     
    117118
    118119      if (first) then
    119         allocate(l0(klon))
    120         allocate(q2(klon,klevp1))
     120        IF (.not.ALLOCATED(l0)) allocate(l0(klon))
     121        IF (.not.ALLOCATED(q2)) allocate(q2(klon,klevp1))
    121122
    122123c (surtout pour k=1, à cause diagnostiques...)
Note: See TracChangeset for help on using the changeset viewer.