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

Contents of /trunk/dyn3d/scopy.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: 512 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 subroutine scopy(n, sx, incx, sy, incy)
2
3 ! From cray.F, version 1.1.1.1, 2004/05/19 12:53:05
4
5 ! This subroutine should not exist in a Fortran 95 program. If the
6 ! actual arguments 2 and 4 are of rank 1 then replace each call to
7 ! this subroutine by the simple statement in this subroutine.
8
9 IMPLICIT NONE
10
11 integer, intent(in):: n, incx, incy
12 real, intent(in):: sx((n-1)*incx+1)
13 real, intent(inout):: sy((n-1)*incy+1)
14
15 !-------------------------
16
17 sy(::incy) = sx(::incx)
18
19 end subroutine scopy

  ViewVC Help
Powered by ViewVC 1.1.21