source: trunk/MESOSCALE/LMDZ.MARS/libf_gcm/bibio/sdot.F @ 3567

Last change on this file since 3567 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: 369 bytes
Line 
1      FUNCTION sdot (n, x,incx, y,incy)
2      IMPLICIT NONE
3c
4      integer n, incx, incy
5      real sdot
6      real x((n-1)*incx+1), y((n-1)*incy+1)
7c
8      integer i, ix, iy
9c
10      sdot = 0.0
11      ix = 1
12      iy = 1
13c
14      do 10 i = 1, n
15         sdot = sdot + x(ix) * y(iy)
16         ix = ix + incx
17         iy = iy + incy
18   10 continue
19c
20      return
21      end
Note: See TracBrowser for help on using the repository browser.