File: scalar.f

package info (click to toggle)
python-numpy 1%3A1.12.1-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 23,568 kB
  • sloc: ansic: 146,995; python: 98,089; cpp: 1,112; makefile: 425; f90: 307; sh: 173; fortran: 169; perl: 58
file content (12 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
C FILE: SCALAR.F
      SUBROUTINE FOO(A,B)
      REAL*8 A, B
Cf2py intent(in) a
Cf2py intent(inout) b
      PRINT*, "    A=",A," B=",B
      PRINT*, "INCREMENT A AND B"
      A = A + 1D0
      B = B + 1D0
      PRINT*, "NEW A=",A," B=",B
      END
C END OF FILE SCALAR.F