summaryrefslogtreecommitdiff
path: root/Ganlib/src/CLETIM.f90
blob: d7b55709126e9b4b545bccaca3f624f4df3c94ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
!
!-----------------------------------------------------------------------
!
!Purpose:
! Fortran-2003 bindings for CLETIM.
!
!Copyright:
! Copyright (C) 2009 Ecole Polytechnique de Montreal
! This library is free software; you can redistribute it and/or
! modify it under the terms of the GNU Lesser General Public
! License as published by the Free Software Foundation; either
! version 2.1 of the License, or (at your option) any later version.
!
!Author(s): A. Hebert
!
!-----------------------------------------------------------------------
!
subroutine CLETIM(sec)
   ! abort execution
   use, intrinsic :: iso_c_binding
   double precision :: sec
   interface
      subroutine cletim_c (sec) bind(c)
         use, intrinsic :: iso_c_binding
         real(c_double) :: sec
      end subroutine cletim_c
   end interface
   call cletim_c(sec)
end subroutine CLETIM