Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Méso-NH code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RODIER Quentin
Méso-NH code
Commits
04854a8f
Commit
04854a8f
authored
6 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 04/12/2018: add modi_tools_c to interface with C functions (only sleep for the moment)
parent
330b4ec4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/MNH/tools_c.f90
+33
-0
33 additions, 0 deletions
src/MNH/tools_c.f90
with
33 additions
and
0 deletions
src/MNH/tools_c.f90
0 → 100644
+
33
−
0
View file @
04854a8f
!MNH_LIC Copyright 2018-2018 CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
!MNH_LIC for details. version 1.
!-----------------------------------------------------------------
!#############
module
modi_tools_c
!#############
!
!! Purpose
!! -------
!
! The Purpose of this module is to provide interfaces
! to C functions
!
! Authors
! -------
!
! P. Wautelet 04/12/2018
!
use
,
intrinsic
::
iso_c_binding
implicit
none
interface
subroutine
sleep_c
(
ksec
)
bind
(
c
,
name
=
"sleep"
)
import
C_INT
integer
(
kind
=
C_INT
),
VALUE
::
ksec
end
subroutine
sleep_c
end
interface
end
module
modi_tools_c
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment