summaryrefslogtreecommitdiff
path: root/Ganlib/src/CLETIM.f90
diff options
context:
space:
mode:
authorstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
committerstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
commit7dfcc480ba1e19bd3232349fc733caef94034292 (patch)
tree03ee104eb8846d5cc1a981d267687a729185d3f3 /Ganlib/src/CLETIM.f90
Initial commit from Polytechnique Montreal
Diffstat (limited to 'Ganlib/src/CLETIM.f90')
-rw-r--r--Ganlib/src/CLETIM.f9029
1 files changed, 29 insertions, 0 deletions
diff --git a/Ganlib/src/CLETIM.f90 b/Ganlib/src/CLETIM.f90
new file mode 100644
index 0000000..d7b5570
--- /dev/null
+++ b/Ganlib/src/CLETIM.f90
@@ -0,0 +1,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