SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
modd_isba_canopyn.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_ISBA_CANOPY_n - declaration of surface parameters for urban canopy
10 !!
11 !! PURPOSE
12 !! -------
13 ! Declaration of surface parameters
14 !
15 !!
16 !!** IMPLICIT ARGUMENTS
17 !! ------------------
18 !! None
19 !!
20 !! REFERENCE
21 !! ---------
22 !!
23 !! AUTHOR
24 !! ------
25 !! V. Masson *Meteo France*
26 !!
27 !! MODIFICATIONS
28 !! -------------
29 !! Original 07/2006
30 !
31 !* 0. DECLARATIONS
32 ! ------------
33 !
34 !
35 USE yomhook ,ONLY : lhook, dr_hook
36 USE parkind1 ,ONLY : jprb
37 !
38 IMPLICIT NONE
39 
40 TYPE isba_canopy_t
41 !
42  INTEGER :: NLVL ! number of levels in canopy
43  REAL, POINTER, DIMENSION(:,:) :: XZ ! height of middle of each level grid (m)
44  REAL, POINTER, DIMENSION(:,:) :: XU ! wind at each level in canopy (m/s)
45  REAL, POINTER, DIMENSION(:,:) :: XT ! temperature at each level in canopy (m/s)
46  REAL, POINTER, DIMENSION(:,:) :: XQ ! humidity at each level in canopy (kg/m3)
47  REAL, POINTER, DIMENSION(:,:) :: XTKE ! Tke at each level in canopy (m2/s2)
48  REAL, POINTER, DIMENSION(:) :: XLMO ! Monin-Obhukov length (m)
49  REAL, POINTER, DIMENSION(:,:) :: XP ! pressure at each level in canopy (kg/m3)
50 !
51  REAL, POINTER, DIMENSION(:,:) :: XDZ ! depth of each level in canopy (m)
52  REAL, POINTER, DIMENSION(:,:) :: XZF ! height of bottom of each level grid (m)
53  REAL, POINTER, DIMENSION(:,:) :: XDZF ! depth between each level in canopy (m)
54 !
55 END TYPE isba_canopy_t
56 
57 
58 
59  CONTAINS
60 
61 !
62 
63 
64 
65 
66 SUBROUTINE isba_canopy_init(YISBA_CANOPY)
67 TYPE(isba_canopy_t), INTENT(INOUT) :: yisba_canopy
68 REAL(KIND=JPRB) :: zhook_handle
69 IF (lhook) CALL dr_hook("MODD_ISBA_CANOPY_N:ISBA_CANOPY_INIT",0,zhook_handle)
70  nullify(yisba_canopy%XZ)
71  nullify(yisba_canopy%XU)
72  nullify(yisba_canopy%XT)
73  nullify(yisba_canopy%XQ)
74  nullify(yisba_canopy%XTKE)
75  nullify(yisba_canopy%XLMO)
76  nullify(yisba_canopy%XP)
77  nullify(yisba_canopy%XDZ)
78  nullify(yisba_canopy%XZF)
79  nullify(yisba_canopy%XDZF)
80 yisba_canopy%NLVL=0
81 IF (lhook) CALL dr_hook("MODD_ISBA_CANOPY_N:ISBA_CANOPY_INIT",1,zhook_handle)
82 END SUBROUTINE isba_canopy_init
83 
84 
85 END MODULE modd_isba_canopy_n
subroutine isba_canopy_init(YISBA_CANOPY)