5 |
contains |
contains |
6 |
|
|
7 |
SUBROUTINE calcul_fluxs(tsurf, p1lay, cal, beta, coef1lay, ps, qsurf, & |
SUBROUTINE calcul_fluxs(tsurf, p1lay, cal, beta, coef1lay, ps, qsurf, & |
8 |
radsol, dif_grnd, t1lay, q1lay, u1lay, v1lay, tAcoef, qAcoef, tBcoef, & |
radsol, t1lay, q1lay, u1lay, v1lay, tAcoef, qAcoef, tBcoef, & |
9 |
qBcoef, tsurf_new, evap, fluxlat, flux_t, dflux_s, dflux_l) |
qBcoef, tsurf_new, evap, fluxlat, flux_t, dflux_s, dflux_l, dif_grnd) |
10 |
|
|
11 |
! Cette routine calcule les flux en h et q à l'interface et une |
! Cette routine calcule les flux en h et q à l'interface et une |
12 |
! température de surface. |
! température de surface. |
38 |
real, intent(IN):: radsol(:) ! (knon) |
real, intent(IN):: radsol(:) ! (knon) |
39 |
! rayonnement net au sol (longwave + shortwave) |
! rayonnement net au sol (longwave + shortwave) |
40 |
|
|
41 |
real, intent(IN):: dif_grnd(:) ! (knon) |
real, intent(IN):: dif_grnd ! coefficient de diffusion vers le sol profond |
|
! coefficient de diffusion vers le sol profond |
|
|
|
|
42 |
real, intent(IN):: t1lay(:), q1lay(:), u1lay(:), v1lay(:) ! (knon) |
real, intent(IN):: t1lay(:), q1lay(:), u1lay(:), v1lay(:) ! (knon) |
43 |
|
|
44 |
real, intent(IN):: tAcoef(:), qAcoef(:) ! (knon) |
real, intent(IN):: tAcoef(:), qAcoef(:) ! (knon) |
70 |
!--------------------------------------------------------------------- |
!--------------------------------------------------------------------- |
71 |
|
|
72 |
knon = assert_eq([size(tsurf), size(p1lay), size(cal), size(beta), & |
knon = assert_eq([size(tsurf), size(p1lay), size(cal), size(beta), & |
73 |
size(coef1lay), size(ps), size(qsurf), size(radsol), size(dif_grnd), & |
size(coef1lay), size(ps), size(qsurf), size(radsol), size(t1lay), & |
74 |
size(t1lay), size(q1lay), size(u1lay), size(v1lay), size(tAcoef), & |
size(q1lay), size(u1lay), size(v1lay), size(tAcoef), size(qAcoef), & |
75 |
size(qAcoef), size(tBcoef), size(qBcoef), size(tsurf_new), & |
size(tBcoef), size(qBcoef), size(tsurf_new), size(evap), & |
76 |
size(evap), size(fluxlat), size(flux_t), size(dflux_s), & |
size(fluxlat), size(flux_t), size(dflux_s), size(dflux_l)], & |
77 |
size(dflux_l)], "calcul_fluxs knon") |
"calcul_fluxs knon") |
78 |
|
|
79 |
! Traitement de l'humidité du sol |
! Traitement de l'humidité du sol |
80 |
|
|