source: trunk/MESOSCALE/LMDZ.MARS/libf_gcm/bibio/ilsum.F @ 134

Last change on this file since 134 was 57, checked in by aslmd, 14 years ago

mineur LMD_MM_MARS: ajout du GCM ancienne physique, systeme maintenant complet sur SVN (ne manque que la base de donnees d'etats initiaux)

File size: 310 bytes
Line 
1      FUNCTION ilsum(n, logic, inc)
2c
3      IMPLICIT NONE
4c
5      integer ilsum
6      integer n, inc
7      logical logic((n-1)*inc+1)
8c
9      integer i, in
10c
11      ilsum = 0.
12      in = 1
13      do 10 i = 1, n
14         if (logic(in)) ilsum = ilsum + 1
15         in=in+inc
1610    continue
17c
18      return
19      end
Note: See TracBrowser for help on using the repository browser.