Last change
on this file since 3580 was
3175,
checked in by emillour, 13 months ago
|
Pluto PCM:
Add the old Pluto LMDZ for reference (required prior step to making
an LMDZ.PLUTO using the same framework as the other physics packages).
TB+EM
|
File size:
259 bytes
|
Rev | Line | |
---|
[3175] | 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.