Last change
on this file was
3175,
checked in by emillour, 11 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:
290 bytes
|
Rev | Line | |
---|
[3175] | 1 | subroutine scopy(n,sx,incx,sy,incy) |
---|
| 2 | c |
---|
| 3 | IMPLICIT NONE |
---|
| 4 | c |
---|
| 5 | integer n,incx,incy,ix,iy,i |
---|
| 6 | real sx((n-1)*incx+1),sy((n-1)*incy+1) |
---|
| 7 | c |
---|
| 8 | iy=1 |
---|
| 9 | ix=1 |
---|
| 10 | do 10 i=1,n |
---|
| 11 | sy(iy)=sx(ix) |
---|
| 12 | ix=ix+incx |
---|
| 13 | iy=iy+incy |
---|
| 14 | 10 continue |
---|
| 15 | c |
---|
| 16 | return |
---|
| 17 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.