source: trunk/LMDZ.PLUTO.old/libf/bibio/sdot.F @ 3561

Last change on this file since 3561 was 3175, checked in by emillour, 12 months ago

Pluto PCM:
Add the old Pluto LMDZ for reference (required prior step to making
an LMDZ.PLUTO using the same framework as the other physics packages).
TB+EM

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.