5 |
contains |
contains |
6 |
|
|
7 |
SUBROUTINE clqh(dtime, julien, debut, nisurf, knindex, tsoil, qsol, rmu0, & |
SUBROUTINE clqh(dtime, julien, debut, nisurf, knindex, tsoil, qsol, rmu0, & |
8 |
rugos, rugoro, u1lay, v1lay, coef, t, q, ts, paprs, pplay, delp, & |
rugos, rugoro, u1lay, v1lay, coef, tq_cdrag, t, q, ts, paprs, pplay, & |
9 |
radsol, albedo, snow, qsurf, precip_rain, precip_snow, fluxlat, & |
delp, radsol, albedo, snow, qsurf, precip_rain, precip_snow, fluxlat, & |
10 |
pctsrf_new_sic, agesno, d_t, d_q, d_ts, z0_new, flux_t, flux_q, & |
pctsrf_new_sic, agesno, d_t, d_q, d_ts, z0_new, flux_t, flux_q, & |
11 |
dflux_s, dflux_l, fqcalving, ffonte, run_off_lic_0) |
dflux_s, dflux_l, fqcalving, ffonte, run_off_lic_0) |
12 |
|
|
26 |
integer, intent(in):: knindex(:) ! (knon) |
integer, intent(in):: knindex(:) ! (knon) |
27 |
REAL, intent(inout):: tsoil(:, :) ! (knon, nsoilmx) |
REAL, intent(inout):: tsoil(:, :) ! (knon, nsoilmx) |
28 |
|
|
29 |
REAL, intent(inout):: qsol(klon) |
REAL, intent(inout):: qsol(:) ! (knon) |
30 |
! column-density of water in soil, in kg m-2 |
! column-density of water in soil, in kg m-2 |
31 |
|
|
32 |
real, intent(in):: rmu0(klon) ! cosinus de l'angle solaire zenithal |
real, intent(in):: rmu0(klon) ! cosinus de l'angle solaire zenithal |
33 |
real rugos(klon) ! rugosite |
real rugos(klon) ! rugosite |
34 |
REAL rugoro(klon) |
REAL rugoro(klon) |
|
REAL u1lay(klon) ! vitesse u de la 1ere couche (m / s) |
|
|
REAL v1lay(klon) ! vitesse v de la 1ere couche (m / s) |
|
35 |
|
|
36 |
REAL, intent(in):: coef(:, :) ! (knon, klev) |
REAL, intent(in):: u1lay(:), v1lay(:) ! (knon) |
37 |
|
! vitesse de la 1ere couche (m / s) |
38 |
|
|
39 |
|
REAL, intent(in):: coef(:, 2:) ! (knon, 2:klev) |
40 |
! Le coefficient d'echange (m**2 / s) multiplie par le cisaillement |
! Le coefficient d'echange (m**2 / s) multiplie par le cisaillement |
41 |
! du vent (dV / dz). La premiere valeur indique la valeur de Cdrag |
! du vent (dV / dz) |
42 |
! (sans unite). |
|
43 |
|
REAL, intent(in):: tq_cdrag(:) ! (knon) sans unite |
44 |
|
|
45 |
REAL t(klon, klev) ! temperature (K) |
REAL t(klon, klev) ! temperature (K) |
46 |
REAL q(klon, klev) ! humidite specifique (kg / kg) |
REAL q(klon, klev) ! humidite specifique (kg / kg) |
115 |
REAL zdelz |
REAL zdelz |
116 |
|
|
117 |
real temp_air(klon), spechum(klon) |
real temp_air(klon), spechum(klon) |
118 |
real tq_cdrag(klon), petAcoef(klon), peqAcoef(klon) |
real petAcoef(klon), peqAcoef(klon) |
119 |
real petBcoef(klon), peqBcoef(klon) |
real petBcoef(klon), peqBcoef(klon) |
120 |
real p1lay(klon) |
real p1lay(klon) |
121 |
|
|
238 |
peqAcoef(1:knon) = zx_cq(1:knon, 1) |
peqAcoef(1:knon) = zx_cq(1:knon, 1) |
239 |
petBcoef(1:knon) = zx_dh(1:knon, 1) |
petBcoef(1:knon) = zx_dh(1:knon, 1) |
240 |
peqBcoef(1:knon) = zx_dq(1:knon, 1) |
peqBcoef(1:knon) = zx_dq(1:knon, 1) |
|
tq_cdrag(1:knon) =coef(:knon, 1) |
|
241 |
temp_air(1:knon) =t(1:knon, 1) |
temp_air(1:knon) =t(1:knon, 1) |
242 |
spechum(1:knon)=q(1:knon, 1) |
spechum(1:knon)=q(1:knon, 1) |
243 |
p1lay(1:knon) = pplay(1:knon, 1) |
p1lay(1:knon) = pplay(1:knon, 1) |
244 |
|
|
245 |
CALL interfsurf_hq(dtime, julien, rmu0, nisurf, knindex, debut, tsoil, & |
CALL interfsurf_hq(dtime, julien, rmu0, nisurf, knindex, debut, tsoil, & |
246 |
qsol, u1lay, v1lay, temp_air, spechum, tq_cdrag, petAcoef, peqAcoef, & |
qsol, u1lay, v1lay, temp_air, spechum, tq_cdrag(:knon), petAcoef, peqAcoef, & |
247 |
petBcoef, peqBcoef, precip_rain, precip_snow, rugos, rugoro, snow, & |
petBcoef, peqBcoef, precip_rain, precip_snow, rugos, rugoro, snow, & |
248 |
qsurf, ts, p1lay, psref, radsol, evap, flux_t, fluxlat, dflux_l, & |
qsurf, ts, p1lay, psref, radsol, evap, flux_t, fluxlat, dflux_l, & |
249 |
dflux_s, tsurf_new, albedo, z0_new, pctsrf_new_sic, agesno, & |
dflux_s, tsurf_new, albedo, z0_new, pctsrf_new_sic, agesno, & |