Last change
on this file since 57 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)
|
File size:
366 bytes
|
Line | |
---|
1 | subroutine scatter(n,a,index,b) |
---|
2 | C |
---|
3 | implicit none |
---|
4 | integer N,INDEX(n),I |
---|
5 | real A(n),B(n) |
---|
6 | c |
---|
7 | c |
---|
8 | DO 100 I=1,N |
---|
9 | A(INDEX(I))=B(I) |
---|
10 | 100 CONTINUE |
---|
11 | c |
---|
12 | return |
---|
13 | end |
---|
14 | c |
---|
15 | c |
---|
16 | c peut etre vec_scatter(v,rindices,count,r) en f77hp |
---|
17 | c equivalent code: |
---|
18 | c do 99 i=1,count |
---|
19 | c99 r(rindices(i))=v(i) |
---|
20 | c voir p. 11-13 |
---|
21 | c |
---|
Note: See
TracBrowser
for help on using the repository browser.