source: LMDZ6/branches/Amaury_dev/libf/phylmd/rrtm/yomhook.F90 @ 5159

Last change on this file since 5159 was 5133, checked in by abarral, 5 months ago

Fix 1D, rrtm & ecrad compilation

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.