38 |
USE dimsoil, ONLY: nsoilmx |
USE dimsoil, ONLY: nsoilmx |
39 |
use hbtm_m, only: hbtm |
use hbtm_m, only: hbtm |
40 |
USE indicesol, ONLY: epsfra, is_lic, is_oce, is_sic, is_ter, nbsrf |
USE indicesol, ONLY: epsfra, is_lic, is_oce, is_sic, is_ter, nbsrf |
41 |
|
use stdlevvar_m, only: stdlevvar |
42 |
USE suphec_m, ONLY: rd, rg, rkappa |
USE suphec_m, ONLY: rd, rg, rkappa |
43 |
use ustarhb_m, only: ustarhb |
use ustarhb_m, only: ustarhb |
44 |
use vdif_kcay_m, only: vdif_kcay |
use vdif_kcay_m, only: vdif_kcay |
57 |
INTEGER, INTENT(IN):: jour ! jour de l'annee en cours |
INTEGER, INTENT(IN):: jour ! jour de l'annee en cours |
58 |
REAL, intent(in):: rmu0(klon) ! cosinus de l'angle solaire zenithal |
REAL, intent(in):: rmu0(klon) ! cosinus de l'angle solaire zenithal |
59 |
REAL, intent(in):: co2_ppm ! taux CO2 atmosphere |
REAL, intent(in):: co2_ppm ! taux CO2 atmosphere |
60 |
REAL, INTENT(IN):: ts(klon, nbsrf) ! input-R- temperature du sol (en Kelvin) |
REAL, INTENT(IN):: ts(klon, nbsrf) ! temperature du sol (en Kelvin) |
61 |
REAL, INTENT(IN):: cdmmax, cdhmax ! seuils cdrm, cdrh |
REAL, INTENT(IN):: cdmmax, cdhmax ! seuils cdrm, cdrh |
62 |
REAL, INTENT(IN):: ksta, ksta_ter |
REAL, INTENT(IN):: ksta, ksta_ter |
63 |
LOGICAL, INTENT(IN):: ok_kzmin |
LOGICAL, INTENT(IN):: ok_kzmin |
100 |
REAL, intent(out):: d_u(klon, klev), d_v(klon, klev) |
REAL, intent(out):: d_u(klon, klev), d_v(klon, klev) |
101 |
! changement pour "u" et "v" |
! changement pour "u" et "v" |
102 |
|
|
103 |
REAL d_ts(klon, nbsrf) |
REAL, intent(out):: d_ts(klon, nbsrf) ! le changement pour "ts" |
|
! d_ts-----output-R- le changement pour "ts" |
|
104 |
|
|
105 |
REAL flux_t(klon, klev, nbsrf), flux_q(klon, klev, nbsrf) |
REAL flux_t(klon, klev, nbsrf), flux_q(klon, klev, nbsrf) |
106 |
! flux_t---output-R- flux de chaleur sensible (CpT) J/m**2/s (W/m**2) |
! flux_t---output-R- flux de chaleur sensible (CpT) J/m**2/s (W/m**2) |
305 |
y_dflux_q = 0. |
y_dflux_q = 0. |
306 |
ytsoil = 999999. |
ytsoil = 999999. |
307 |
yrugoro = 0. |
yrugoro = 0. |
|
! -- LOOP |
|
308 |
yu10mx = 0. |
yu10mx = 0. |
309 |
yu10my = 0. |
yu10my = 0. |
310 |
ywindsp = 0. |
ywindsp = 0. |
|
! -- LOOP |
|
311 |
d_ts = 0. |
d_ts = 0. |
312 |
yfluxlat = 0. |
yfluxlat = 0. |
313 |
flux_t = 0. |
flux_t = 0. |
475 |
ypplay, ydelp, y_d_v, y_flux_v) |
ypplay, ydelp, y_d_v, y_flux_v) |
476 |
|
|
477 |
! calculer la diffusion de "q" et de "h" |
! calculer la diffusion de "q" et de "h" |
478 |
CALL clqh(dtime, itap, jour, debut, rlat, knon, nsrf, ni, pctsrf, & |
CALL clqh(dtime, itap, jour, debut, rlat, knon, nsrf, ni(:knon), pctsrf, & |
479 |
ytsoil, yqsol, rmu0, co2_ppm, yrugos, yrugoro, & |
ytsoil, yqsol, rmu0, co2_ppm, yrugos, yrugoro, yu1, yv1, & |
480 |
yu1, yv1, coefh(:knon, :), yt, yq, yts, ypaprs, ypplay, ydelp, & |
coefh(:knon, :), yt, yq, yts, ypaprs, ypplay, ydelp, yrads, & |
481 |
yrads, yalb, yalblw, ysnow, yqsurf, yrain_f, ysnow_f, yfder, & |
yalb, yalblw, ysnow, yqsurf, yrain_f, ysnow_f, yfder, ysolsw, & |
482 |
ysolsw, yfluxlat, pctsrf_new, yagesno, y_d_t, y_d_q, y_d_ts, & |
yfluxlat, pctsrf_new, yagesno, y_d_t, y_d_q, y_d_ts(:knon), & |
483 |
yz0_new, y_flux_t, y_flux_q, y_dflux_t, y_dflux_q, & |
yz0_new, y_flux_t, y_flux_q, y_dflux_t, y_dflux_q, & |
484 |
y_fqcalving, y_ffonte, y_run_off_lic_0, y_flux_o, y_flux_g) |
y_fqcalving, y_ffonte, y_run_off_lic_0, y_flux_o, y_flux_g) |
485 |
|
|