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