Last change
on this file since 842 was
704,
checked in by Laurent Fairhead, 18 years ago
|
Inclusion des modifs de Y. Meurdesoif pour la version V3
LF
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
271 bytes
|
Rev | Line | |
---|
[524] | 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.