Debian Codegraph @

07p/src/f2003.f90

raw symbols SCIP
1 module compat
2
3 implicit none
4 public :: autoflush, autim
5
6 contains
7
8 ! This file calls some F2003/F95 functions that were previously only
9 ! available as Unix extensions.
10
11 subroutine autoflush(i)
12 ! The Fortran 2003 way:
13 integer, intent(in) :: i
14 flush(i)
15 end subroutine autoflush
16
17 !-----------------------------------------------------------------------
18 ! Timing AUTO
19 !-----------------------------------------------------------------------
20
21 ! ------ --------- --------
22 double precision function autim()
23
24 real etime
25
26 call cpu_time(etime)
27 autim = etime
28
29 end function autim
30
31 integer function autargc()
32 autargc = command_argument_count()
33 end function autargc
34
35 subroutine autgetarg(number,value)
36 integer, intent(in) :: number
37 character(len=*), intent(out) :: value
38 call get_command_argument(number,value)
39 end subroutine autgetarg
40
41 end module compat