/[lmdze]/trunk/phylmd/Interface_surf/albsno.f90
ViewVC logotype

Contents of /trunk/phylmd/Interface_surf/albsno.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 332 - (show annotations)
Tue Aug 13 09:19:22 2019 UTC (4 years, 9 months ago) by guez
File size: 784 byte(s)
Declare variable nent in procedures `cv_driver`, `cv30_mixing` and
`cv30_yield` with shape `(ncum, 2:nl - 1)`.

1 module albsno_m
2
3 IMPLICIT none
4
5 contains
6
7 SUBROUTINE albsno(agesno, alb_neig, snow_fall)
8
9 ! From phylmd/interface_surf.F90, version 1.8 2005/05/25 13:10:09
10
11 use comconst, only: dtphys
12
13 REAL, intent(inout):: agesno(:) ! (knon) age of snow, in days
14 real, intent(out):: alb_neig(:) ! (knon)
15
16 real, intent(in):: snow_fall(:) !(knon)
17 ! precipitation, solid water mass flux (kg / m2 / s), positive down
18
19 !------------------------------------------------------------------------
20
21 ! D\'esert partout:
22 alb_neig = 0.55 + 0.3 * EXP(- agesno / 5.)
23
24 ! Modulation en fonction de l'\^age de la neige :
25 agesno = (agesno + (1. - agesno / 50.) * dtphys / 86400.) &
26 * EXP(- snow_fall * dtphys / 0.3)
27
28 END SUBROUTINE albsno
29
30 end module albsno_m

  ViewVC Help
Powered by ViewVC 1.1.21