--- trunk/Sources/phylmd/phytrac.f 2017/11/02 15:47:03 227 +++ trunk/phylmd/phytrac.f 2018/02/05 10:39:38 254 @@ -8,8 +8,8 @@ contains SUBROUTINE phytrac(julien, gmtime, firstcal, lafin, pdtphys, t_seri, paprs, & - pplay, pmfu, pmfd, pde_u, pen_d, coefh, fm_therm, entr_therm, yu1, & - yv1, ftsol, pctsrf, frac_impa, frac_nucl, da, phi, mp, upwd, dnwd, & + pplay, pmfu, pmfd, pde_u, pen_d, coefh, cdragh, fm_therm, entr_therm, & + yu1, yv1, ftsol, pctsrf, frac_impa, frac_nucl, da, phi, mp, upwd, dnwd, & tr_seri, zmasse, ncid_startphy) ! From phylmd/phytrac.F, version 1.15, 2006/02/21 08:08:30 (SVN @@ -77,7 +77,8 @@ REAL pde_u(klon, llm) ! flux detraine dans le panache montant REAL pen_d(klon, llm) ! flux entraine dans le panache descendant - REAL coefh(klon, llm) ! coeff melange couche limite + REAL coefh(:, 2:) ! (klon, 2:llm) coeff melange couche limite + real cdragh(:) ! (klon) real fm_therm(klon, llm+1), entr_therm(klon, llm) ! thermiques REAL, intent(in):: yu1(:), yv1(:) ! (klon) vent au premier niveau @@ -279,7 +280,7 @@ DO it=1, nqmx - 2 if (clsol(it)) then ! couche limite avec quantite dans le sol calculee - CALL cltracrn(it, pdtphys, yu1, yv1, coefh, t_seri, ftsol, & + CALL cltracrn(it, pdtphys, yu1, yv1, coefh, cdragh, t_seri, ftsol, & pctsrf, tr_seri(:, :, it), trs(:, it), paprs, pplay, delp, & masktr(1, it), fshtr(1, it), hsoltr(it), tautr(it), & vdeptr(it), rlat, d_tr_cl(1, 1, it), d_trs)