/[lmdze]/trunk/dyn3d/ssum.f
ViewVC logotype

Annotation of /trunk/dyn3d/ssum.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30 - (hide annotations)
Thu Apr 1 09:07:28 2010 UTC (14 years, 2 months ago) by guez
Original Path: trunk/libf/dyn3d/ssum.f90
File size: 237 byte(s)
Imported Source files of the external library "IOIPSL_Lionel" into
"libf/IOIPSL".

Split "cray.f90" into "scopy.f90" and "ssum.f90".

Rewrote "leapfrog" in order to have a clearer algorithmic structure.

1 guez 3 real function ssum(n,sx,incx)
2    
3     ! From cray.F, v 1.1.1.1 2004/05/19 12:53:05
4    
5     IMPLICIT NONE
6    
7     integer, intent(in):: n, incx
8     real, intent(in):: sx((n-1)*incx+1)
9    
10     !-----------------------
11    
12     ssum=sum(sx(::incx))
13    
14     end function ssum

  ViewVC Help
Powered by ViewVC 1.1.21