6 |
|
|
7 |
SUBROUTINE pbl_surface(pctsrf, t, q, u, v, julien, mu0, ftsol, cdmmax, & |
SUBROUTINE pbl_surface(pctsrf, t, q, u, v, julien, mu0, ftsol, cdmmax, & |
8 |
cdhmax, ftsoil, qsol, paprs, play, fsnow, fqsurf, falbe, fluxlat, & |
cdhmax, ftsoil, qsol, paprs, play, fsnow, fqsurf, falbe, fluxlat, & |
9 |
rain_fall, snow_fall, frugs, agesno, rugoro, d_t, d_q, d_u, d_v, d_ts, & |
rain_fall, snow_fall, frugs, agesno, rugoro, d_t, d_q, d_u, d_v, & |
10 |
flux_t, flux_q, flux_u, flux_v, cdragh, cdragm, q2, dflux_t, dflux_q, & |
flux_t, flux_q, flux_u, flux_v, cdragh, cdragm, q2, dflux_t, dflux_q, & |
11 |
coefh, t2m, q2m, u10m_srf, v10m_srf, pblh, capcl, oliqcl, cteicl, pblt, & |
coefh, t2m, q2m, u10m_srf, v10m_srf, pblh, capcl, oliqcl, cteicl, pblt, & |
12 |
therm, plcl, fqcalving, ffonte, run_off_lic_0, albsol, sollw, solsw, & |
therm, plcl, fqcalving, ffonte, run_off_lic_0, albsol, sollw, solsw, & |
48 |
INTEGER, INTENT(IN):: julien ! jour de l'annee en cours |
INTEGER, INTENT(IN):: julien ! jour de l'annee en cours |
49 |
REAL, intent(in):: mu0(klon) ! cosinus de l'angle solaire zenithal |
REAL, intent(in):: mu0(klon) ! cosinus de l'angle solaire zenithal |
50 |
|
|
51 |
REAL, INTENT(IN):: ftsol(:, :) ! (klon, nbsrf) |
REAL, INTENT(INout):: ftsol(:, :) ! (klon, nbsrf) |
52 |
! skin temperature of surface fraction, in K |
! skin temperature of surface fraction, in K |
53 |
|
|
54 |
REAL, INTENT(IN):: cdmmax, cdhmax ! seuils cdrm, cdrh |
REAL, INTENT(IN):: cdmmax, cdhmax ! seuils cdrm, cdrh |
84 |
REAL, intent(out):: d_u(klon, klev), d_v(klon, klev) |
REAL, intent(out):: d_u(klon, klev), d_v(klon, klev) |
85 |
! changement pour "u" et "v" |
! changement pour "u" et "v" |
86 |
|
|
|
REAL, intent(out):: d_ts(:, :) ! (klon, nbsrf) variation of ftsol |
|
|
|
|
87 |
REAL, intent(out):: flux_t(klon, nbsrf) |
REAL, intent(out):: flux_t(klon, nbsrf) |
88 |
! flux de chaleur sensible (c_p T) (W / m2) (orientation positive |
! flux de chaleur sensible (c_p T) (W / m2) (orientation positive |
89 |
! vers le bas) à la surface |
! vers le bas) à la surface |
142 |
|
|
143 |
! Local: |
! Local: |
144 |
|
|
145 |
|
REAL d_ts(klon, nbsrf) ! variation of ftsol |
146 |
REAL fsollw(klon, nbsrf) ! bilan flux IR pour chaque sous-surface |
REAL fsollw(klon, nbsrf) ! bilan flux IR pour chaque sous-surface |
147 |
REAL fsolsw(klon, nbsrf) ! flux solaire absorb\'e pour chaque sous-surface |
REAL fsolsw(klon, nbsrf) ! flux solaire absorb\'e pour chaque sous-surface |
148 |
|
|
506 |
pctsrf(:, is_sic) = pctsrf_new_sic |
pctsrf(:, is_sic) = pctsrf_new_sic |
507 |
|
|
508 |
CALL histwrite_phy("run_off_lic", run_off_lic) |
CALL histwrite_phy("run_off_lic", run_off_lic) |
509 |
|
ftsol = ftsol + d_ts ! update surface temperature |
510 |
|
CALL histwrite_phy("dtsvdfo", d_ts(:, is_oce)) |
511 |
|
CALL histwrite_phy("dtsvdft", d_ts(:, is_ter)) |
512 |
|
CALL histwrite_phy("dtsvdfg", d_ts(:, is_lic)) |
513 |
|
CALL histwrite_phy("dtsvdfi", d_ts(:, is_sic)) |
514 |
|
|
515 |
END SUBROUTINE pbl_surface |
END SUBROUTINE pbl_surface |
516 |
|
|