source:
trunk/LMDZ.GENERIC/libf/bibio/gather.F
@
146
Last change on this file since 146 was 135, checked in by , 14 years ago | |
---|---|
File size: 259 bytes |
Line | |
---|---|
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.