4 |
|
|
5 |
contains |
contains |
6 |
|
|
7 |
SUBROUTINE clqh(dtime, jour, debut, rlat, knon, nisurf, knindex, pctsrf, & |
SUBROUTINE clqh(dtime, jour, debut, rlat, knon, nisurf, knindex, & |
8 |
tsoil, qsol, rmu0, rugos, rugoro, u1lay, v1lay, coef, t, q, ts, paprs, & |
tsoil, qsol, rmu0, rugos, rugoro, u1lay, v1lay, coef, t, q, ts, paprs, & |
9 |
pplay, delp, radsol, albedo, snow, qsurf, precip_rain, precip_snow, & |
pplay, delp, radsol, albedo, snow, qsurf, precip_rain, precip_snow, & |
10 |
fder, fluxlat, pctsrf_new, agesno, d_t, d_q, d_ts, z0_new, flux_t, & |
fder, fluxlat, pctsrf_new_sic, agesno, d_t, d_q, d_ts, z0_new, flux_t, & |
11 |
flux_q, dflux_s, dflux_l, fqcalving, ffonte, run_off_lic_0) |
flux_q, dflux_s, dflux_l, fqcalving, ffonte, run_off_lic_0) |
12 |
|
|
13 |
! Author: Z. X. Li (LMD/CNRS) |
! Author: Z. X. Li (LMD/CNRS) |
28 |
INTEGER, intent(in):: knon |
INTEGER, intent(in):: knon |
29 |
integer, intent(in):: nisurf |
integer, intent(in):: nisurf |
30 |
integer, intent(in):: knindex(:) ! (knon) |
integer, intent(in):: knindex(:) ! (knon) |
31 |
real, intent(in):: pctsrf(klon, nbsrf) |
|
32 |
REAL tsoil(klon, nsoilmx) |
REAL tsoil(klon, nsoilmx) |
33 |
|
|
34 |
REAL, intent(inout):: qsol(klon) |
REAL, intent(inout):: qsol(klon) |
64 |
|
|
65 |
real, intent(inout):: fder(klon) |
real, intent(inout):: fder(klon) |
66 |
real fluxlat(klon) |
real fluxlat(klon) |
67 |
real pctsrf_new(klon, nbsrf) |
real, intent(in):: pctsrf_new_sic(:) ! (klon) |
68 |
REAL, intent(inout):: agesno(:) ! (knon) |
REAL, intent(inout):: agesno(:) ! (knon) |
69 |
REAL d_t(klon, klev) ! incrementation de "t" |
REAL d_t(klon, klev) ! incrementation de "t" |
70 |
REAL d_q(klon, klev) ! incrementation de "q" |
REAL d_q(klon, klev) ! incrementation de "q" |
239 |
spechum(1:knon)=q(1:knon, 1) |
spechum(1:knon)=q(1:knon, 1) |
240 |
p1lay(1:knon) = pplay(1:knon, 1) |
p1lay(1:knon) = pplay(1:knon, 1) |
241 |
|
|
242 |
CALL interfsurf_hq(dtime, jour, rmu0, nisurf, knon, knindex, pctsrf, & |
CALL interfsurf_hq(dtime, jour, rmu0, nisurf, knon, knindex, rlat, debut, & |
243 |
rlat, debut, nsoilmx, tsoil, qsol, u1lay, v1lay, temp_air, spechum, & |
nsoilmx, tsoil, qsol, u1lay, v1lay, temp_air, spechum, tq_cdrag, & |
244 |
tq_cdrag, petAcoef, peqAcoef, petBcoef, peqBcoef, precip_rain, & |
petAcoef, peqAcoef, petBcoef, peqBcoef, precip_rain, precip_snow, & |
245 |
precip_snow, fder, rugos, rugoro, snow, qsurf, ts(:knon), p1lay, & |
fder, rugos, rugoro, snow, qsurf, ts(:knon), p1lay, psref, radsol, & |
246 |
psref, radsol, evap, fluxsens, fluxlat, dflux_l, dflux_s, tsurf_new, & |
evap, fluxsens, fluxlat, dflux_l, dflux_s, tsurf_new, albedo, & |
247 |
albedo, z0_new, pctsrf_new, agesno, fqcalving, ffonte, run_off_lic_0) |
z0_new, pctsrf_new_sic, agesno, fqcalving, ffonte, run_off_lic_0) |
248 |
|
|
249 |
flux_t(:knon, 1) = fluxsens(:knon) |
flux_t(:knon, 1) = fluxsens(:knon) |
250 |
flux_q(:knon, 1) = - evap(:knon) |
flux_q(:knon, 1) = - evap(:knon) |