Last change
on this file since 2186 was
1990,
checked in by Laurent Fairhead, 11 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 | |
---|
1 | MODULE YOMHOOK |
---|
2 | |
---|
3 | USE PARKIND1 ,ONLY : JPIM ,JPRB |
---|
4 | |
---|
5 | IMPLICIT 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 | |
---|
12 | LOGICAL :: LHOOK=.TRUE. |
---|
13 | |
---|
14 | CONTAINS |
---|
15 | |
---|
16 | SUBROUTINE DR_HOOK(CDNAME,KSWITCH,PKEY) |
---|
17 | CHARACTER(LEN=*), INTENT(IN) :: CDNAME |
---|
18 | INTEGER(KIND=JPIM), INTENT(IN) :: KSWITCH |
---|
19 | REAL(KIND=JPRB), INTENT(INOUT) :: PKEY |
---|
20 | IF (KSWITCH.EQ.0) THEN |
---|
21 | ! PRINT *,'--> ON ENTRE DANS: ',CDNAME |
---|
22 | ELSE IF (KSWITCH.EQ.1) THEN |
---|
23 | ! PRINT *,' ON SORT DE : ',CDNAME |
---|
24 | ENDIF |
---|
25 | END SUBROUTINE DR_HOOK |
---|
26 | |
---|
27 | SUBROUTINE 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 |
---|
35 | PRINT *,'ON EST DANS C_DRHOOK_PRINT ' |
---|
36 | |
---|
37 | END SUBROUTINE C_DRHOOK_PRINT |
---|
38 | END MODULE YOMHOOK |
---|
Note: See
TracBrowser
for help on using the repository browser.