File: simple.f

package info (click to toggle)
python-f2py 2.45.241%2B1926-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 956 kB
  • ctags: 700
  • sloc: python: 8,720; ansic: 929; fortran: 109; makefile: 48; f90: 34
file content (13 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
cFile: simple.f
      subroutine foo(a,m,n)
      integer m,n,i,j
      real a(m,n)
cf2py intent(in,out) a
cf2py intent(hide) m,n
      do i=1,m
         do j=1,n
            a(i,j) = a(i,j) + 10*i+j
         enddo
      enddo
      end
cEOF