Ignore:
Timestamp:
Feb 16, 2018, 12:42:18 PM (6 years ago)
Author:
jyg
Message:

Implementation of a first crude model of the
dynamic of wake population.

File:
1 edited

Legend:

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

    r3150 r3208  
    247247! wake_deltaq : ecart d'humidite avec la zone non perturbee
    248248! wake_s      : fraction surfacique occupee par la poche froide
     249! awake_dens  : number of active wakes per unit area
    249250! wake_dens   : number of wakes per unit area
    250251! wake_occ    : occurence of wakes (= 1 if wakes occur, =0 otherwise)
     
    258259      REAL,ALLOCATABLE,SAVE :: wake_s(:)
    259260!$OMP THREADPRIVATE(wake_s)
    260       REAL,ALLOCATABLE,SAVE :: wake_dens(:)
    261 !$OMP THREADPRIVATE(wake_dens)
     261      REAL,ALLOCATABLE,SAVE :: awake_dens(:), wake_dens(:)
     262!$OMP THREADPRIVATE(awake_dens, wake_dens)
    262263      REAL,ALLOCATABLE,SAVE :: wake_Cstar(:)
    263264!$OMP THREADPRIVATE(wake_Cstar)
     
    539540      ALLOCATE(wght_th(klon,klev))
    540541      ALLOCATE(wake_deltat(klon,klev), wake_deltaq(klon,klev))
    541       ALLOCATE(wake_s(klon), wake_dens(klon))
     542      ALLOCATE(wake_s(klon), awake_dens(klon), wake_dens(klon))
    542543      ALLOCATE(wake_Cstar(klon))
    543544      ALLOCATE(wake_pe(klon), wake_fip(klon))
     
    682683      deallocate(lalim_conv, wght_th)
    683684      deallocate(wake_deltat, wake_deltaq)
    684       deallocate(wake_s, wake_dens)
     685      deallocate(wake_s, awake_dens, wake_dens)
    685686      deallocate(wake_Cstar, wake_pe, wake_fip)
    686687!jyg<
Note: See TracChangeset for help on using the changeset viewer.