SURFEX v8.1
General documentation of Surfex
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(DMF)
68 TYPE(diag_misc_flake_t), INTENT(INOUT) :: DMF
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(dmf%XZWAT_PROFILE)
72  NULLIFY(dmf%XZW_PROFILE)
73  NULLIFY(dmf%XTW_PROFILE)
74 dmf%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(DMF)
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15