SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
default_teb.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 ! #########
6  SUBROUTINE default_teb(HZ0H,PTSTEP,POUT_TSTEP, HCH_BEM, PDT_RES, PDT_OFF)
7 ! ########################################################################
8 !
9 !!**** *DEFAULT_TEB* - routine to set default values for the configuration for TEB scheme
10 !!
11 !! PURPOSE
12 !! -------
13 !!
14 !!** METHOD
15 !! ------
16 !!
17 !! EXTERNAL
18 !! --------
19 !!
20 !!
21 !! IMPLICIT ARGUMENTS
22 !! ------------------
23 !!
24 !! REFERENCE
25 !! ---------
26 !!
27 !!
28 !! AUTHOR
29 !! ------
30 !! V. Masson *Meteo France*
31 !!
32 !! MODIFICATIONS
33 !! -------------
34 !! Original 01/2004
35 !! modified 08/2012 G. Pigeon, add HCH_BEM for building conv. coef.
36 !-------------------------------------------------------------------------------
37 !
38 !* 0. DECLARATIONS
39 ! ------------
40 !
41 USE modd_surf_par, ONLY : xundef
42 !
43 !
44 USE yomhook ,ONLY : lhook, dr_hook
45 USE parkind1 ,ONLY : jprb
46 !
47 IMPLICIT NONE
48 !
49 !* 0.1 Declarations of arguments
50 ! -------------------------
51 !
52 !
53  CHARACTER(LEN=6), INTENT(OUT) :: hz0h ! TEB option for z0h roof & road
54  CHARACTER(LEN=5), INTENT(OUT) :: hch_bem ! TEB option building conv. coef.
55 REAL, INTENT(OUT) :: ptstep ! time step for run
56 REAL, INTENT(OUT) :: pout_tstep ! time step for writing
57 REAL, INTENT(OUT) :: pdt_res ! target temperature change when unoccupied (K) (residential buildings)
58 REAL, INTENT(OUT) :: pdt_off ! target temperature change when unoccupied (K) (offices buildings)
59 REAL(KIND=JPRB) :: zhook_handle
60 !
61 !* 0.2 Declarations of local variables
62 ! -------------------------------
63 !
64 !-------------------------------------------------------------------------------
65 !
66 IF (lhook) CALL dr_hook('DEFAULT_TEB',0,zhook_handle)
67 hz0h = 'KAND07'
68 ptstep = xundef
69 pout_tstep = xundef
70 hch_bem = 'DOE-2'
71 pdt_res = 0.
72 pdt_off = 0.
73 IF (lhook) CALL dr_hook('DEFAULT_TEB',1,zhook_handle)
74 !
75 !-------------------------------------------------------------------------------
76 !
77 END SUBROUTINE default_teb
subroutine default_teb(HZ0H, PTSTEP, POUT_TSTEP, HCH_BEM, PDT_RES, PDT_OFF)
Definition: default_teb.F90:6