source: LMDZ5/trunk/libf/filtrez/acc.F @ 1591

Last change on this file since 1591 was 962, checked in by Laurent Fairhead, 16 years ago

Un peu de menage pour avoir moins de sorties a la compilation sur Nec
LF

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 334 bytes
Line 
1!
2! $Header$
3!
4        subroutine acc(vec,d,im)
5        dimension vec(im,im),d(im)
6        do j=1,im
7          do i=1,im
8            d(i)=vec(i,j)*vec(i,j)
9          enddo
10          sum=ssum(im,d,1)
11          sum=sqrt(sum)
12          do i=1,im
13            vec(i,j)=vec(i,j)/sum
14          enddo
15        enddo
16        return
17        end
Note: See TracBrowser for help on using the repository browser.