Last change
on this file since 1242 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)
|
-
Property svn:executable set to
*
|
File size:
256 bytes
|
Line | |
---|
1 | subroutine acc(vec,d,im) |
---|
2 | dimension vec(im,im),d(im) |
---|
3 | do 10 j=1,im |
---|
4 | do 9 i=1,im |
---|
5 | 9 d(i)=vec(i,j)*vec(i,j) |
---|
6 | sum=ssum(im,d,1) |
---|
7 | sum=sqrt(sum) |
---|
8 | do 10 i=1,im |
---|
9 | 10 vec(i,j)=vec(i,j)/sum |
---|
10 | return |
---|
11 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.