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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 174 - (hide 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 guez 3 module albsno_m
2    
3 guez 116 ! From phylmd/interface_surf.F90, version 1.8 2005/05/25 13:10:09
4 guez 3
5     IMPLICIT none
6    
7     contains
8    
9 guez 174 SUBROUTINE albsno(dtime, agesno, alb_neig, precip_snow)
10 guez 3
11 guez 174 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 guez 116
16     !------------------------------------------------------------------------
17    
18 guez 174 ! D\'esert partout:
19     alb_neig = 0.55 + 0.3 * EXP(- agesno / 5.)
20 guez 116
21 guez 174 ! 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 guez 116
25 guez 3 END SUBROUTINE albsno
26    
27     end module albsno_m

  ViewVC Help
Powered by ViewVC 1.1.21