SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
modd_diag_misc_flaken.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.
5 ! ############################
7 ! ############################
8 !
9 !!**** *MODD_DIAG_MISC_FLAKE - declaration of diagnostic variables for FLAKE scheme
10 !!
11 !! PURPOSE
12 !! -------
13 !
14 !!
15 !!** IMPLICIT ARGUMENTS
16 !! ------------------
17 !! None
18 !!
19 !! REFERENCE
20 !! ---------
21 !!
22 !! AUTHOR
23 !! ------
24 !! P. Le Moigne *Meteo France*
25 !!
26 !! MODIFICATIONS
27 !! -------------
28 !! Original 07/10/04
29 !
30 !
31 !* 0. DECLARATIONS
32 ! ------------
33 !
34 !
35 !
36 USE yomhook ,ONLY : lhook, dr_hook
37 USE parkind1 ,ONLY : jprb
38 !
39 IMPLICIT NONE
40 
42 !------------------------------------------------------------------------------
43 !
44  LOGICAL :: LWATER_PROFILE ! flag for miscellaneous terms of FLake scheme
45 !
46 !* miscellaneous variables
47 !
48  REAL, POINTER, DIMENSION(:) :: XZWAT_PROFILE ! depth of output levels (m) in namelist
49  REAL, POINTER, DIMENSION(:) :: XZW_PROFILE ! depth of output levels (m)
50  REAL, POINTER, DIMENSION(:,:) :: XTW_PROFILE ! Water temperature in output levels (K)
51 !
52 !
53 !------------------------------------------------------------------------------
54 !
55 
56 END TYPE diag_misc_flake_t
57 
58 
59 
60  CONTAINS
61 
62 !
63 
64 
65 
66 
67 SUBROUTINE diag_misc_flake_init(YDIAG_MISC_FLAKE)
68 TYPE(diag_misc_flake_t), INTENT(INOUT) :: ydiag_misc_flake
69 REAL(KIND=JPRB) :: zhook_handle
70 IF (lhook) CALL dr_hook("MODD_DIAG_MISC_FLAKE_N:DIAG_MISC_FLAKE_INIT",0,zhook_handle)
71  nullify(ydiag_misc_flake%XZWAT_PROFILE)
72  nullify(ydiag_misc_flake%XZW_PROFILE)
73  nullify(ydiag_misc_flake%XTW_PROFILE)
74 ydiag_misc_flake%LWATER_PROFILE=.false.
75 IF (lhook) CALL dr_hook("MODD_DIAG_MISC_FLAKE_N:DIAG_MISC_FLAKE_INIT",1,zhook_handle)
76 END SUBROUTINE diag_misc_flake_init
77 
78 
79 END MODULE modd_diag_misc_flake_n
subroutine diag_misc_flake_init(YDIAG_MISC_FLAKE)