Last change
on this file since 4187 was
4176,
checked in by dubos, 5 years ago
|
simple_physics : copy code from FH
|
File size:
369 bytes
|
Line | |
---|
1 | subroutine monscatter(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.