Last change
on this file since 80 was
57,
checked in by aslmd, 15 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:
259 bytes
|
Rev | Line | |
---|
[57] | 1 | SUBROUTINE GATHER(n,a,b,index) |
---|
| 2 | c |
---|
| 3 | IMPLICIT NONE |
---|
| 4 | C |
---|
| 5 | INTEGER n,index(n),i |
---|
| 6 | REAL a(n),b(n) |
---|
| 7 | c |
---|
| 8 | DO 100 i=1,n |
---|
| 9 | a(i)=b(index(i)) |
---|
| 10 | 100 CONTINUE |
---|
| 11 | c |
---|
| 12 | RETURN |
---|
| 13 | END |
---|
| 14 | c |
---|
| 15 | c voir aussi vec_gather(v,vindices,count,r)...p.11-14 |
---|
| 16 | c |
---|
Note: See
TracBrowser
for help on using the repository browser.