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

Contents of /trunk/dyn3d/ssum.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (show annotations)
Thu Jun 13 14:40:06 2019 UTC (4 years, 11 months 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 real function ssum(n,sx,incx)
2
3 ! From cray.F, version 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