212 |
REAL rain_tiedtke(klon), snow_tiedtke(klon) |
REAL rain_tiedtke(klon), snow_tiedtke(klon) |
213 |
|
|
214 |
REAL evap(klon) ! flux d'\'evaporation au sol |
REAL evap(klon) ! flux d'\'evaporation au sol |
215 |
real devap(klon) ! derivative of the evaporation flux at the surface |
real dflux_q(klon) ! derivative of the evaporation flux at the surface |
216 |
REAL sens(klon) ! flux de chaleur sensible au sol |
REAL sens(klon) ! flux de chaleur sensible au sol |
217 |
real dsens(klon) ! derivee du flux de chaleur sensible au sol |
real dflux_t(klon) ! derivee du flux de chaleur sensible au sol |
218 |
REAL, save:: dlw(klon) ! derivative of infra-red flux |
REAL, save:: dlw(klon) ! derivative of infra-red flux |
219 |
REAL bils(klon) ! bilan de chaleur au sol |
REAL bils(klon) ! bilan de chaleur au sol |
220 |
REAL fder(klon) ! Derive de flux (sensible et latente) |
REAL fder(klon) ! Derive de flux (sensible et latente) |
555 |
ftsol, cdmmax, cdhmax, ftsoil, qsol, paprs, play, fsnow, fqsurf, & |
ftsol, cdmmax, cdhmax, ftsoil, qsol, paprs, play, fsnow, fqsurf, & |
556 |
fevap, falbe, fluxlat, rain_fall, snow_fall, fsolsw, fsollw, frugs, & |
fevap, falbe, fluxlat, rain_fall, snow_fall, fsolsw, fsollw, frugs, & |
557 |
agesno, rugoro, d_t_vdf, d_q_vdf, d_u_vdf, d_v_vdf, d_ts, flux_t, & |
agesno, rugoro, d_t_vdf, d_q_vdf, d_u_vdf, d_v_vdf, d_ts, flux_t, & |
558 |
flux_q, flux_u, flux_v, cdragh, cdragm, q2, dsens, devap, coefh, t2m, & |
flux_q, flux_u, flux_v, cdragh, cdragm, q2, dflux_t, dflux_q, coefh, & |
559 |
q2m, u10m_srf, v10m_srf, pblh, capCL, oliqCL, cteiCL, pblT, therm, & |
t2m, q2m, u10m_srf, v10m_srf, pblh, capCL, oliqCL, cteiCL, pblT, & |
560 |
plcl, fqcalving, ffonte, run_off_lic_0) |
therm, plcl, fqcalving, ffonte, run_off_lic_0) |
561 |
|
|
562 |
! Incr\'ementation des flux |
! Incr\'ementation des flux |
563 |
|
|
564 |
sens = - sum(flux_t * pctsrf, dim = 2) |
sens = - sum(flux_t * pctsrf, dim = 2) |
565 |
evap = - sum(flux_q * pctsrf, dim = 2) |
evap = - sum(flux_q * pctsrf, dim = 2) |
566 |
fder = dlw + dsens + devap |
fder = dlw + dflux_t + dflux_q |
567 |
|
|
568 |
DO k = 1, llm |
DO k = 1, llm |
569 |
DO i = 1, klon |
DO i = 1, klon |
574 |
ENDDO |
ENDDO |
575 |
ENDDO |
ENDDO |
576 |
|
|
|
! Update surface temperature: |
|
|
|
|
577 |
call assert(abs(sum(pctsrf, dim = 2) - 1.) <= EPSFRA, 'physiq: pctsrf') |
call assert(abs(sum(pctsrf, dim = 2) - 1.) <= EPSFRA, 'physiq: pctsrf') |
578 |
ftsol = ftsol + d_ts |
ftsol = ftsol + d_ts ! update surface temperature |
579 |
tsol = sum(ftsol * pctsrf, dim = 2) |
tsol = sum(ftsol * pctsrf, dim = 2) |
580 |
zxfluxlat = sum(fluxlat * pctsrf, dim = 2) |
zxfluxlat = sum(fluxlat * pctsrf, dim = 2) |
581 |
zt2m = sum(t2m * pctsrf, dim = 2) |
zt2m = sum(t2m * pctsrf, dim = 2) |