SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
modd_diag_misc_teb_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_DIAG_MISC_TEB - declaration of packed surface parameters for TEB 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 !! C de Munck 02/13 adding runoff contributions for teb garden
30 !! V. Masson 06/2013 splits module in two
31 !
32 !
33 !* 0. DECLARATIONS
34 ! ------------
35 !
36 !
37 !
38 USE yomhook ,ONLY : lhook, dr_hook
39 USE parkind1 ,ONLY : jprb
40 !
41 IMPLICIT NONE
42 
44 !------------------------------------------------------------------------------
45 !
46  LOGICAL :: LSURF_MISC_BUDGET ! flag for miscellaneous terms of teb scheme
47  LOGICAL :: LSURF_EVAP_BUDGET ! flag for all terms of evaporation
48  LOGICAL :: LSURF_DIAG_ALBEDO ! flag to write out diagnostic albedo
49 !
51 !
52 
53 
54 
55  CONTAINS
56 
57 !
58 
59 
60 
61 
62 SUBROUTINE diag_misc_teb_options_init(YDIAG_MISC_TEB_OPTIONS)
63 TYPE(diag_misc_teb_options_t), INTENT(INOUT) :: ydiag_misc_teb_options
64 REAL(KIND=JPRB) :: zhook_handle
65 IF (lhook) CALL dr_hook("MODD_DIAG_MISC_TEB_N:DIAG_MISC_TEB_OPTIONS_INIT",0,zhook_handle)
66 ydiag_misc_teb_options%LSURF_MISC_BUDGET=.false.
67 ydiag_misc_teb_options%LSURF_EVAP_BUDGET=.false.
68 ydiag_misc_teb_options%LSURF_DIAG_ALBEDO=.false.
69 IF (lhook) CALL dr_hook("MODD_DIAG_MISC_TEB_N:DIAG_MISC_TEB_OPTIONS_INIT",1,zhook_handle)
70 END SUBROUTINE diag_misc_teb_options_init
71 
72 
subroutine diag_misc_teb_options_init(YDIAG_MISC_TEB_OPTIONS)