Ignore:
Timestamp:
Nov 14, 2014, 9:22:21 PM (10 years ago)
Author:
idelkadi
Message:

Les modifications introduites ont pour but :
1/ d'autoriser le couplage entre INCA-aerosol et les parametrisations de
la nouvelle physique (NP) de LMDZ, en particulier les thermiques et le
transport convectif,
2/ generaliser les routines de calcul de proprietes optiques des
aerosols pour RRTM au cas ou les aerosols sont interactifs
3/ d'inclure les effets LW des aerosols stratospheriques pour RRTM

File:
1 edited

Legend:

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

    r2136 r2146  
    9696      REAL, SAVE, ALLOCATABLE :: topswcf_aero(:,:),  solswcf_aero(:,:)  ! diag
    9797      !$OMP THREADPRIVATE(topswcf_aero,solswcf_aero)
     98! LW radiation diagnostics CK
     99      REAL, SAVE, ALLOCATABLE :: toplwad_aero(:),  sollwad_aero(:)      ! diag
     100      !$OMP THREADPRIVATE(toplwad_aero,sollwad_aero)
     101      REAL, SAVE, ALLOCATABLE :: toplwai_aero(:),  sollwai_aero(:)      ! diag
     102      !$OMP THREADPRIVATE(toplwai_aero,sollwai_aero)
     103      REAL, SAVE, ALLOCATABLE :: toplwad0_aero(:), sollwad0_aero(:)     ! diag
     104      !$OMP THREADPRIVATE(toplwad0_aero,sollwad0_aero)
    98105! Special RRTM
    99106      REAL, SAVE, ALLOCATABLE :: ZLWFT0_i(:,:),  ZSWFT0_i(:,:)      ! diag
     
    140147      REAL, SAVE, ALLOCATABLE :: sconcso4(:)
    141148      !$OMP THREADPRIVATE(sconcso4)
     149      REAL, SAVE, ALLOCATABLE :: sconcno3(:)
     150      !$OMP THREADPRIVATE(sconcno3)
    142151      REAL, SAVE, ALLOCATABLE :: sconcoa(:)
    143152      !$OMP THREADPRIVATE(sconcoa)
     
    150159      REAL, SAVE, ALLOCATABLE :: concso4(:,:)
    151160      !$OMP THREADPRIVATE(concso4)
     161      REAL, SAVE, ALLOCATABLE :: concno3(:,:)
     162      !$OMP THREADPRIVATE(concno3)
    152163      REAL, SAVE, ALLOCATABLE :: concoa(:,:)
    153164      !$OMP THREADPRIVATE(concoa)
     
    197208!$OMP THREADPRIVATE(topswcf_aerop, solswcf_aerop)
    198209
     210! additional LW variables CK
     211      REAL,ALLOCATABLE,SAVE :: toplwad_aerop(:), sollwad_aerop(:)
     212!$OMP THREADPRIVATE(toplwad_aerop, sollwad_aerop)
     213      REAL,ALLOCATABLE,SAVE :: toplwai_aerop(:), sollwai_aerop(:)
     214!$OMP THREADPRIVATE(toplwai_aerop, sollwai_aerop)
     215      REAL,ALLOCATABLE,SAVE :: toplwad0_aerop(:), sollwad0_aerop(:)
     216!$OMP THREADPRIVATE(toplwad0_aerop, sollwad0_aerop)
    199217
    200218!Ajout de celles nécessaires au phys_output_write_mod
     
    337355      allocate(topswai_aero(klon), solswai_aero(klon))
    338356      allocate(topswad0_aero(klon), solswad0_aero(klon))
     357     ! LW diagnostics CK
     358      allocate(toplwad_aero(klon), sollwad_aero(klon))
     359      allocate(toplwai_aero(klon), sollwai_aero(klon))
     360      allocate(toplwad0_aero(klon), sollwad0_aero(klon))
     361      ! end
    339362      allocate(topsw_aero(klon,naero_grp), solsw_aero(klon,naero_grp))
    340363      allocate(topsw0_aero(klon,naero_grp), solsw0_aero(klon,naero_grp))
     
    363386      allocate(od550lt1aer(klon))               
    364387      allocate(sconcso4(klon))
     388      allocate(sconcno3(klon))
    365389      allocate(sconcoa(klon))
    366390      allocate(sconcbc(klon))
     
    368392      allocate(sconcdust(klon))
    369393      allocate(concso4(klon,klev))
     394      allocate(concno3(klon,klev))
    370395      allocate(concoa(klon,klev))
    371396      allocate(concbc(klon,klev))
     
    392417      ALLOCATE(solsw_aerop(klon,naero_grp), solsw0_aerop(klon,naero_grp))
    393418      ALLOCATE(topswcf_aerop(klon,naero_grp), solswcf_aerop(klon,naero_grp))
     419
     420! additional LW variables CK
     421      ALLOCATE(toplwad_aerop(klon), sollwad_aerop(klon))
     422      ALLOCATE(toplwai_aerop(klon), sollwai_aerop(klon))
     423      ALLOCATE(toplwad0_aerop(klon), sollwad0_aerop(klon))
    394424
    395425! FH Ajout de celles nécessaires au phys_output_write_mod
     
    496526      deallocate(topswai_aero,solswai_aero)
    497527      deallocate(topswad0_aero,solswad0_aero)
     528      ! LW additional CK
     529      deallocate(toplwad_aero,sollwad_aero)
     530      deallocate(toplwai_aero,sollwai_aero)
     531      deallocate(toplwad0_aero,sollwad0_aero)
     532      ! end
    498533      deallocate(topsw_aero,solsw_aero)
    499534      deallocate(topsw0_aero,solsw0_aero)
     
    517552      deallocate(od550lt1aer)
    518553      deallocate(sconcso4)
     554      deallocate(sconcno3)
    519555      deallocate(sconcoa)
    520556      deallocate(sconcbc)
     
    522558      deallocate(sconcdust)
    523559      deallocate(concso4)
     560      deallocate(concno3)
    524561      deallocate(concoa)
    525562      deallocate(concbc)
     
    549586      deallocate(topswcf_aerop, solswcf_aerop)
    550587
     588!CK LW diagnostics
     589      deallocate(toplwad_aerop, sollwad_aerop)
     590      deallocate(toplwai_aerop, sollwai_aerop)
     591      deallocate(toplwad0_aerop, sollwad0_aerop)
    551592
    552593! FH Ajout de celles nécessaires au phys_output_write_mod
Note: See TracChangeset for help on using the changeset viewer.