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

Annotation of /trunk/dyn3d/ssum.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (hide annotations)
Thu Jun 13 14:40:06 2019 UTC (5 years ago) by guez
File size: 251 byte(s)
Change all `.f` suffixes to `.f90`. (The opposite was done in revision
82.)  Because of change of philosopy in GNUmakefile: we already had a
rewritten rule for `.f`, so it does not make the makefile longer to
replace it by a rule for `.f90`. And it spares us options of
makedepf90 and of the compiler. Also we prepare the way for a simpler
`CMakeLists.txt`.

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

  ViewVC Help
Powered by ViewVC 1.1.21