source: LMDZ5/branches/LMDZ5V2.0-dev/libf/phylmd/calcul_divers.h @ 1456

Last change on this file since 1456 was 1454, checked in by Laurent Fairhead, 14 years ago

Merge of LMDZ5V1.0-dev branch r1453 into LMDZ5 trunk r1434


Fusion entre la version r1453 de la branche de développement LMDZ5V1.0-dev
et le tronc LMDZ5 (r1434)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 604 bytes
Line 
1c
2c $Header$
3c
4
5c     Initialisations diverses au "debut" du mois
6      IF(debut) THEN
7         nday_rain(:)=0.
8
9c        surface terre
10         paire_ter(:)=0.
11         DO i=1, klon
12            IF(pctsrf(i,is_ter).GT.0.) THEN
13               paire_ter(i)=airephy(i)*pctsrf(i,is_ter)
14            ENDIF
15         ENDDO
16      ENDIF
17
18cIM   Calcul une fois par jour : total_rain, nday_rain
19      IF(MOD(itap,INT(un_jour/dtime)).EQ.0) THEN
20         DO i = 1, klon
21            total_rain(i)=rain_fall(i)+snow_fall(i) 
22            IF(total_rain(i).GT.0.) nday_rain(i)=nday_rain(i)+1.
23         ENDDO
24      ENDIF
Note: See TracBrowser for help on using the repository browser.