SURFEX v8.1
General documentation of Surfex
read_namelists_topd.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 read_namelists_topd(HPROGRAM)
7 ! #######################################################
8 !
9 !!**** *READ_NAMELISTS_TOPD* reads useful namelists for coupling with TOPD
10 !!
11 !! PURPOSE
12 !! -------
13 !!
14 !! This routine aims at reading and initialising variables.
15 !!
16 !! METHOD
17 !! ------
18 !!
19 !
20 !! EXTERNAL
21 !! --------
22 !!
23 !! IMPLICIT ARGUMENTS
24 !! ------------------
25 !!
26 !! REFERENCE
27 !! ---------
28 !!
29 !! AUTHOR
30 !! ------
31 !!
32 !! B. Vincendon Meteo-France
33 !!
34 !! MODIFICATION
35 !! ------------
36 !!
37 !! Original 11/2006
38 !! B. Vincendon 02/2014 : adding possibility to choose the speed of water on hillslopes
39 !! and ti write runoff map on watersheds
40 !----------------------------------------------------------------------------
41 !
42 USE modi_read_nam_pgd_topd
43 USE modi_read_nam_topd
44 !
52 !
54 !
55 USE yomhook ,ONLY : lhook, dr_hook
56 USE parkind1 ,ONLY : jprb
57 !
58 IMPLICIT NONE
59 !
60  CHARACTER(LEN=6), INTENT(IN) :: HPROGRAM ! program calling surf. schemes
61 REAL(KIND=JPRB) :: ZHOOK_HANDLE
62 !
63 !----------------------------------------------------------
64 !
65 IF (lhook) CALL dr_hook('READ_NAMELISTS_TOPD',0,zhook_handle)
66 !
67  CALL read_nam_pgd_topd(hprogram,lcoupl_topd,ccat,&
69 IF (lcoupl_topd) &
70  CALL read_nam_topd(hprogram,lbudget_topd,nnb_topd,&
74 !
75 IF (lhook) CALL dr_hook('READ_NAMELISTS_TOPD',1,zhook_handle)
76 !
77 END SUBROUTINE read_namelists_topd
real, dimension(jpcat) xspeedh
real, dimension(jpcat) xspeedr
character(len=15), dimension(jpcat) ccat
subroutine read_nam_topd(HPROGRAM, OBUDGET_TOPD, KNB_TOPD, OSTOCK_TOPD, KNB_STOCK, KNB_RESTART, KFREQ_MAPS_WG, KFREQ_MAPS_ASAT, KFREQ_MAPS_RUNOFF, PSPEEDR, PSPEEDG, PSPEEDH, PQINIT, PRTOP_D2)
real, dimension(jpcat) xqinit
real, dimension(jpcat) xc_depth_ratio_bv
subroutine read_nam_pgd_topd(HPROGRAM, OCOUPL_TOPD, HCAT, PF_PARAM_BV
integer nnb_topd_step
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15
real, dimension(jpcat) xf_param_bv
real, dimension(jpcat) xspeedg
subroutine read_namelists_topd(HPROGRAM)
real, dimension(jpcat) xrtop_d2