SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
modd_teb_garden_optionn.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_TEB_GARDEN - declaration of packed surface parameters for ISBA scheme
10 !!
11 !! PURPOSE
12 !! -------
13 !
14 !!
15 !!** IMPLICIT ARGUMENTS
16 !! ------------------
17 !! None
18 !!
19 !! REFERENCE
20 !! ---------
21 !!
22 !! AUTHOR
23 !! ------
24 !! A. Lemonsu *Meteo France*
25 !!
26 !! MODIFICATIONS
27 !! -------------
28 !! Original 01/2011
29 !! V. Masson 06/2013 splits module in two
30 !!
31 !-------------------------------------------------------------------------------
32 !
33 !* 0. DECLARATIONS
34 ! ------------
35 !
37 !
38 !
39 USE yomhook ,ONLY : lhook, dr_hook
40 USE parkind1 ,ONLY : jprb
41 !
42 IMPLICIT NONE
43 
45 !-------------------------------------------------------------------------------
46 !
47 ! type of initialization of vegetation: from cover types (ecoclimap) or parameters prescribed
48 !
49  LOGICAL :: LPAR_GARDEN ! T: parameters computed from ecoclimap
50 ! ! F: they are read in the file
51 !
52 ! Number of inside garden vegetation (not TEB) patches and of layers
53 !
54 !
55  INTEGER :: NGROUND_LAYER ! number of ground layers
56 !
57  INTEGER :: NLAYER_HORT
58  INTEGER :: NLAYER_DUN
59 !
60  REAL, POINTER, DIMENSION(:) :: XSOILGRID ! Soil layer grid as reference for DIF
61 !
62 END TYPE teb_garden_options_t
63 !-------------------------------------------------------------------------------
64 
65 
66 
67  CONTAINS
68 
69 !
70 
71 
72 !
73 
74 SUBROUTINE teb_garden_options_init(YTEB_GARDEN_OPTIONS)
75 TYPE(teb_garden_options_t), INTENT(INOUT) :: yteb_garden_options
76 REAL(KIND=JPRB) :: zhook_handle
77 IF (lhook) CALL dr_hook("MODD_TEB_GARDEN_N:TEB_GARDEN_INIT",0,zhook_handle)
78  nullify(yteb_garden_options%XSOILGRID)
79 yteb_garden_options%LPAR_GARDEN=.true.
80 yteb_garden_options%NGROUND_LAYER=0
81 yteb_garden_options%NLAYER_HORT=0
82 yteb_garden_options%NLAYER_DUN=0
83 IF (lhook) CALL dr_hook("MODD_TEB_GARDEN_N:TEB_GARDEN_OPTIONS_INIT",1,zhook_handle)
84 END SUBROUTINE teb_garden_options_init
85 
86 
87 END MODULE modd_teb_garden_option_n
subroutine teb_garden_options_init(YTEB_GARDEN_OPTIONS)