source: LMDZ5/branches/testing/libf/phylmd/rrtm/yomhook.F90 @ 2435

Last change on this file since 2435 was 1999, checked in by Laurent Fairhead, 11 years ago

Merged trunk changes r1920:1997 into testing branch

  • 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.