source: LMDZ5/trunk/libf/phylmd/rrtm/yomhook.F90 @ 1990

Last change on this file since 1990 was 1990, checked in by Laurent Fairhead, 10 years ago

Corrections à la version r1989 pour permettre la compilation avec RRTM
Inclusion de la licence CeCILL_V2 pour RRTM


Changes to revision r1989 to enable RRTM code compilation
RRTM part put under CeCILL_V2 licence

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
File size: 893 bytes
Line 
1MODULE YOMHOOK
2
3USE PARKIND1  ,ONLY : JPIM     ,JPRB
4
5IMPLICIT NONE
6
7! Used by "hook" function
8! LHOOK = true implies "hook" function will be called
9! Altough initialized to TRUE it will be reset by first call to
10! DR_HOOK unless we really want to use the hook function
11
12LOGICAL :: LHOOK=.TRUE.
13
14CONTAINS
15
16SUBROUTINE DR_HOOK(CDNAME,KSWITCH,PKEY)
17CHARACTER(LEN=*), INTENT(IN) :: CDNAME
18INTEGER(KIND=JPIM),        INTENT(IN) :: KSWITCH
19REAL(KIND=JPRB),        INTENT(INOUT) :: PKEY
20IF (KSWITCH.EQ.0) THEN
21!  PRINT *,'--> ON ENTRE DANS: ',CDNAME
22ELSE IF (KSWITCH.EQ.1) THEN
23!  PRINT *,'    ON SORT  DE  : ',CDNAME
24ENDIF
25END SUBROUTINE DR_HOOK
26
27SUBROUTINE C_DRHOOK_PRINT
28
29! subroutine vide MPL 4.12.08
30!INTEGER(KIND=JPIM) ITID, KTID, IPRINT_OPTION, ILEVEL
31!ITID = 0
32!KTID = 0
33!IPRINT_OPTION = 2
34!ILEVEL = 0
35PRINT *,'ON EST DANS C_DRHOOK_PRINT '
36
37END SUBROUTINE C_DRHOOK_PRINT
38END MODULE YOMHOOK
Note: See TracBrowser for help on using the repository browser.