/[lmdze]/trunk/Sources/phylmd/Interface_surf/albsno.f
ViewVC logotype

Contents of /trunk/Sources/phylmd/Interface_surf/albsno.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 174 - (show annotations)
Wed Nov 25 20:14:19 2015 UTC (8 years, 5 months ago) by guez
File size: 714 byte(s)
Simplifications in procedure albsno. Since veget(:, 2:) was 0,
iterations 2 to nvm of the loop computing alb_neig_grid were useless.

Useless initializations of alb_neige in procedure interfsurf_hq:
alb_neig is always computed by albsno just before being used. Useless
computation of local variable zfra in the land ice case.

1 module albsno_m
2
3 ! From phylmd/interface_surf.F90, version 1.8 2005/05/25 13:10:09
4
5 IMPLICIT none
6
7 contains
8
9 SUBROUTINE albsno(dtime, agesno, alb_neig, precip_snow)
10
11 REAL, intent(in):: dtime
12 REAL, intent(inout):: agesno(:) ! (knon)
13 real, intent(out):: alb_neig(:) ! (knon)
14 real, intent(in):: precip_snow(:) !(knon)
15
16 !------------------------------------------------------------------------
17
18 ! D\'esert partout:
19 alb_neig = 0.55 + 0.3 * EXP(- agesno / 5.)
20
21 ! Modulation en fonction de l'\^age de la neige :
22 agesno = max((agesno + (1. - agesno / 50.) * dtime / 86400.) &
23 * EXP(- MAX(0., precip_snow) * dtime / 0.3), 0.)
24
25 END SUBROUTINE albsno
26
27 end module albsno_m

  ViewVC Help
Powered by ViewVC 1.1.21