SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
modd_seaflux_sbln.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_SEAFLUX_SBL_n - declaration of surface parameters for SBL scheme
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 
41 !
42  INTEGER :: NLVL ! number of levels in SBL
43  REAL, POINTER, DIMENSION(:,:) :: XZ ! height of middle of each level grid (m)
44  REAL, POINTER, DIMENSION(:,:) :: XU ! wind at each level in SBL (m/s)
45  REAL, POINTER, DIMENSION(:,:) :: XT ! temperature at each level in SBL (m/s)
46  REAL, POINTER, DIMENSION(:,:) :: XQ ! humidity at each level in SBL (kg/m3)
47  REAL, POINTER, DIMENSION(:,:) :: XTKE ! Tke at each level in SBL (m2/s2)
48  REAL, POINTER, DIMENSION(:) :: XLMO ! Monin-Obhukov length (m)
49  REAL, POINTER, DIMENSION(:,:) :: XP ! pressure at each level in SBL (kg/m3)
50 !
51  REAL, POINTER, DIMENSION(:,:) :: XDZ ! depth of each level in SBL (m)
52  REAL, POINTER, DIMENSION(:,:) :: XZF ! height of bottom of each level grid (m)
53  REAL, POINTER, DIMENSION(:,:) :: XDZF ! depth between each level in SBL (m)
54 !
55 END TYPE seaflux_sbl_t
56 
57 
58 
59  CONTAINS
60 
61 !
62 
63 
64 
65 
66 SUBROUTINE seaflux_sbl_init(YSEAFLUX_SBL)
67 TYPE(seaflux_sbl_t), INTENT(INOUT) :: yseaflux_sbl
68 REAL(KIND=JPRB) :: zhook_handle
69 IF (lhook) CALL dr_hook("MODD_SEAFLUX_SBL_N:SEAFLUX_SBL_INIT",0,zhook_handle)
70  nullify(yseaflux_sbl%XZ)
71  nullify(yseaflux_sbl%XU)
72  nullify(yseaflux_sbl%XT)
73  nullify(yseaflux_sbl%XQ)
74  nullify(yseaflux_sbl%XTKE)
75  nullify(yseaflux_sbl%XLMO)
76  nullify(yseaflux_sbl%XP)
77  nullify(yseaflux_sbl%XDZ)
78  nullify(yseaflux_sbl%XZF)
79  nullify(yseaflux_sbl%XDZF)
80 yseaflux_sbl%NLVL=0
81 IF (lhook) CALL dr_hook("MODD_SEAFLUX_SBL_N:SEAFLUX_SBL_INIT",1,zhook_handle)
82 END SUBROUTINE seaflux_sbl_init
83 
84 
85 END MODULE modd_seaflux_sbl_n
subroutine seaflux_sbl_init(YSEAFLUX_SBL)