Ignore:
Timestamp:
Dec 6, 2022, 12:01:16 AM (2 years ago)
Author:
lguez
Message:

Sync latest trunk changes to Ocean_skin

Location:
LMDZ6/branches/Ocean_skin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin

  • LMDZ6/branches/Ocean_skin/libf/phylmd/phys_local_var_mod.F90

    r4013 r4368  
    1616      REAL, SAVE, ALLOCATABLE :: u_seri(:,:), v_seri(:,:)
    1717      !$OMP THREADPRIVATE(u_seri, v_seri)
     18      REAL, SAVE, ALLOCATABLE :: rneb_seri(:,:)
     19      !$OMP THREADPRIVATE(rneb_seri)
     20      REAL, SAVE, ALLOCATABLE :: d_rneb_dyn(:,:)
     21      !$OMP THREADPRIVATE(d_rneb_dyn)
    1822      REAL, SAVE, ALLOCATABLE :: l_mixmin(:,:,:),l_mix(:,:,:),tke_dissip(:,:,:),wprime(:,:,:)
    1923      !$OMP THREADPRIVATE(l_mixmin, l_mix, tke_dissip,wprime)
     
    434438      REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: cldemi, cldfra, cldtau, fiwc, fl, re, flwc
    435439!$OMP THREADPRIVATE(cldemi, cldfra, cldtau, fiwc, fl, re, flwc)
    436       REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: qlth, qith
    437 !$OMP THREADPRIVATE(qlth, qith)
     440      REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: qlth, qith, qsith, wiceth
     441!$OMP THREADPRIVATE(qlth, qith, qsith, wiceth)
    438442      REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: ref_liq, ref_ice, theta, zphi
    439443!$OMP THREADPRIVATE(ref_liq, ref_ice, theta, zphi)
     
    455459!$OMP THREADPRIVATE(phiwriteSTD, qwriteSTD, twriteSTD, rhwriteSTD)
    456460
     461
    457462! ug et d'autres encore:
    458463      REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: beta_prec
     
    472477      INTEGER,ALLOCATABLE,SAVE,DIMENSION(:,:) :: zn2mout
    473478!$OMP THREADPRIVATE(zn2mout)
     479
     480      REAL, SAVE, ALLOCATABLE :: qclr(:,:)
     481      !$OMP THREADPRIVATE(qclr)
     482      REAL, SAVE, ALLOCATABLE :: qcld(:,:)
     483      !$OMP THREADPRIVATE(qcld)
     484      REAL, SAVE, ALLOCATABLE :: qss(:,:)
     485      !$OMP THREADPRIVATE(qss)
     486      REAL, SAVE, ALLOCATABLE :: qvc(:,:)
     487      !$OMP THREADPRIVATE(qvc)
     488      REAL, SAVE, ALLOCATABLE :: rnebclr(:,:)
     489      !$OMP THREADPRIVATE(rnebclr)
     490      REAL, SAVE, ALLOCATABLE :: rnebss(:,:)
     491      !$OMP THREADPRIVATE(rnebss)
     492      REAL, SAVE, ALLOCATABLE :: gamma_ss(:,:)
     493      !$OMP THREADPRIVATE(gamma_ss)
     494      REAL, SAVE, ALLOCATABLE :: N1_ss(:,:)
     495      !$OMP THREADPRIVATE(N1_ss)
     496      REAL, SAVE, ALLOCATABLE :: N2_ss(:,:)
     497      !$OMP THREADPRIVATE(N2_ss)
     498      REAL, SAVE, ALLOCATABLE :: drneb_sub(:,:)
     499      !$OMP THREADPRIVATE(drneb_sub)
     500      REAL, SAVE, ALLOCATABLE :: drneb_con(:,:)
     501      !$OMP THREADPRIVATE(drneb_con)
     502      REAL, SAVE, ALLOCATABLE :: drneb_tur(:,:)
     503      !$OMP THREADPRIVATE(drneb_tur)
     504      REAL, SAVE, ALLOCATABLE :: drneb_avi(:,:)
     505      !$OMP THREADPRIVATE(drneb_avi)
     506      REAL, SAVE, ALLOCATABLE :: zqsatl(:,:)
     507      !$OMP THREADPRIVATE(zqsatl)
     508      REAL, SAVE, ALLOCATABLE :: zqsats(:,:)
     509      !$OMP THREADPRIVATE(zqsats)
     510      REAL, SAVE, ALLOCATABLE :: Tcontr(:,:)
     511      !$OMP THREADPRIVATE(Tcontr)
     512      REAL, SAVE, ALLOCATABLE :: qcontr(:,:)
     513      !$OMP THREADPRIVATE(qcontr)
     514      REAL, SAVE, ALLOCATABLE :: qcontr2(:,:)
     515      !$OMP THREADPRIVATE(qcontr2)
     516      REAL, SAVE, ALLOCATABLE :: fcontrN(:,:)
     517      !$OMP THREADPRIVATE(fcontrN)
     518      REAL, SAVE, ALLOCATABLE :: fcontrP(:,:)
     519      !$OMP THREADPRIVATE(fcontrP)
    474520
    475521#ifdef CPP_StratAer
     
    732778      ALLOCATE(rain_lsc(klon))
    733779      ALLOCATE(rain_num(klon))
    734       ALLOCATE(qlth(klon,klev), qith(klon,klev))
     780      ALLOCATE(qlth(klon,klev), qith(klon,klev), qsith(klon,klev), wiceth(klon,klev))
    735781      !
    736782      ALLOCATE(sens_x(klon), sens_w(klon))
     
    778824      ALLOCATE(ref_liq_pi(klon, klev), ref_ice_pi(klon, klev))
    779825      ALLOCATE(zphi(klon, klev), zx_rh(klon, klev), zx_rhl(klon,klev), zx_rhi(klon,klev))
     826      zx_rhl(:,:)=0.; zx_rhi(:,:)=0. ! because not always defined
    780827      ALLOCATE(pmfd(klon, klev), pmfu(klon, klev))
    781828
     
    828875
    829876      ALLOCATE(zn2mout(klon,6))
     877
     878! Supersaturation
     879      ALLOCATE(rneb_seri(klon,klev))
     880      ALLOCATE(d_rneb_dyn(klon,klev))
     881      ALLOCATE(qclr(klon,klev), qcld(klon,klev), qss(klon,klev), qvc(klon,klev))
     882      ALLOCATE(rnebclr(klon,klev), rnebss(klon,klev), gamma_ss(klon,klev))
     883      ALLOCATE(N1_ss(klon,klev), N2_ss(klon,klev))
     884      ALLOCATE(drneb_sub(klon,klev), drneb_con(klon,klev), drneb_tur(klon,klev), drneb_avi(klon,klev))
     885      ALLOCATE(zqsatl(klon,klev), zqsats(klon,klev))
     886      ALLOCATE(Tcontr(klon,klev), qcontr(klon,klev), qcontr2(klon,klev), fcontrN(klon,klev), fcontrP(klon,klev))
    830887
    831888#ifdef CPP_StratAer
     
    10321089      DEALLOCATE(rain_lsc)
    10331090      DEALLOCATE(rain_num)
    1034       DEALLOCATE(qlth, qith)
     1091      DEALLOCATE(qlth, qith, qsith, wiceth)
    10351092!
    10361093      DEALLOCATE(sens_x, sens_w)
     
    11161173      DEALLOCATE (t_tropopause)
    11171174      DEALLOCATE(zn2mout)
     1175
     1176! Supersaturation
     1177      DEALLOCATE(rneb_seri)
     1178      DEALLOCATE(d_rneb_dyn)
     1179      DEALLOCATE(qclr, qcld, qss, qvc)
     1180      DEALLOCATE(rnebclr, rnebss, gamma_ss)
     1181      DEALLOCATE(N1_ss, N2_ss)
     1182      DEALLOCATE(drneb_sub, drneb_con, drneb_tur, drneb_avi)
     1183      DEALLOCATE(zqsatl, zqsats)
     1184      DEALLOCATE(Tcontr, qcontr, qcontr2, fcontrN, fcontrP)
    11181185
    11191186#ifdef CPP_StratAer
Note: See TracChangeset for help on using the changeset viewer.