SURFEX v8.1
General documentation of Surfex
mode_modeln_surfex_handler.F90
Go to the documentation of this file.
1 !SFX_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
2 !SFX_LIC This is part of the SURFEX software governed by the CeCILL-C licence
3 !SFX_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4 !SFX_LIC for details. version 1.
6 !
7 USE yomhook ,ONLY : lhook, dr_hook
8 USE parkind1 ,ONLY : jprb
9 !
10 IMPLICIT NONE
11 
12 INTEGER :: icurrent_model = -1
13 !$OMP THREADPRIVATE(ICURRENT_MODEL)
14 
15 CONTAINS
16 !
18 !
19 REAL(KIND=JPRB) :: ZHOOK_HANDLE
20 !
21 IF (lhook) CALL dr_hook('MODE_MODELN_SURFEX_HANDLER:INIT_CURRENT_MODEL_INDEX_SURFEX',0,zhook_handle)
22 icurrent_model = -1
23 IF (lhook) CALL dr_hook('MODE_MODELN_SURFEX_HANDLER:INIT_CURRENT_MODEL_INDEX_SURFEX',1,zhook_handle)
24 !
26 !
28 INTEGER :: GET_CURRENT_MODEL_INDEX_SURFEX
29 REAL(KIND=JPRB) :: ZHOOK_HANDLE
30 !
31 IF (lhook) CALL dr_hook('MODE_MODELN_SURFEX_HANDLER:GET_CURRENT_MODEL_INDEX_SURFEX',0,zhook_handle)
32 get_current_model_index_surfex = icurrent_model
33 IF (lhook) CALL dr_hook('MODE_MODELN_SURFEX_HANDLER:GET_CURRENT_MODEL_INDEX_SURFEX',1,zhook_handle)
34 !
36 !
38 
integer function get_current_model_index_surfex()
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15