source: LMDZ4/branches/LMDZ4_par_0/libf/filtrez/acc.F @ 5456

Last change on this file since 5456 was 524, checked in by lmdzadmin, 21 years ago

Initial revision

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