SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
modd_budget_coupl_rout.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 ! ######spl
7 ! ######################
8 !
9 !!**** *MODD_BUDGET_COUPL_ROUT* - declaration of variables
10 ! useful for budget computations when
11 ! coupling with TOPMODEL
12 !!
13 !! PURPOSE
14 !! -------
15 !!
16 !!** IMPLICIT ARGUMENTS
17 !! ------------------
18 !! None
19 !!
20 !! REFERENCE
21 !! ---------
22 !!
23 !! AUTHOR
24 !! ------
25 !! B. Vincendon *Meteo France*
26 !!
27 !! MODIFICATIONS
28 !! Original 11/2006
29 !! 03/2014 (B. Vincendon) add horton runoff variable
30 !-------------------------------------------------------------------------------
31 !
32 !* 0. DECLARATIONS
33 ! ------------
34 !
35 IMPLICIT NONE
36 !
37 ! Water entering the system
38 REAL,ALLOCATABLE,DIMENSION(:) :: XB_RAIN, XB_SNOW ! Rain and Snow
39 ! Water going out of the system
40 REAL,ALLOCATABLE,DIMENSION(:) :: XB_WR ! Interception
41 REAL,ALLOCATABLE,DIMENSION(:) :: XB_EVAP! Evaporation
42 REAL,ALLOCATABLE,DIMENSION(:) :: XB_RUNOFF_TOPD,XB_RUNOFF_ISBA !Runoff
43 REAL,ALLOCATABLE,DIMENSION(:) :: XB_HORTON !Horton Runoff
44 REAL,ALLOCATABLE,DIMENSION(:) :: XB_DRAIN !Drainage
45 ! Water in the ground
46 REAL,ALLOCATABLE,DIMENSION(:) :: XB_WG2, XB_WG3, XB_WGTOT !liquid
47 REAL,ALLOCATABLE,DIMENSION(:) :: XB_WGI2, XB_WGI3, XB_WGITOT !solid
48 !REAL,ALLOCATABLE,DIMENSION(:) :: XB_DWR_TOT,XB_DWI_TOT, XB_DW_TOT
49 REAL,ALLOCATABLE,DIMENSION(:) :: XB_SWE1, XB_SWE2, XB_SWE3, XB_SWETOT ! snow melt
50 !REAL,ALLOCATABLE,DIMENSION(:) :: XB_RUN2,XB_RUN3!bv pour verif
51 !
52 ! Values at the previous time step
53 REAL,ALLOCATABLE,DIMENSION(:) :: XB_WRM
54 REAL,ALLOCATABLE,DIMENSION(:) :: XB_EVAPM
55 REAL,ALLOCATABLE,DIMENSION(:) :: XB_RUNOFF_TOPDM,XB_RUNOFF_ISBAM
56 REAL,ALLOCATABLE,DIMENSION(:) :: XB_HORTONM
57 REAL,ALLOCATABLE,DIMENSION(:) :: XB_DRAINM
58 REAL,ALLOCATABLE,DIMENSION(:) :: XB_WG2M, XB_WG3M, XB_WGTOTM
59 REAL,ALLOCATABLE,DIMENSION(:) :: XB_WGI2M,XB_WGI3M, XB_WGITOTM
60 REAL,ALLOCATABLE,DIMENSION(:) :: XB_SWE1M, XB_SWE2M, XB_SWE3M, XB_SWETOTM
61 !REAL,ALLOCATABLE,DIMENSION(:) :: XB_RUN2M,XB_RUN3M!bv pour verif
62 ! Useful
63 REAL,ALLOCATABLE,DIMENSION(:) :: XB_DG2, XB_DG3
64 REAL,ALLOCATABLE,DIMENSION(:) :: XB_MESH_SIZE
65 REAL,ALLOCATABLE,DIMENSION(:,:) :: XB_ABV_BYMESH !fraction de chaque BV ds chaque maille
66 REAL,ALLOCATABLE,DIMENSION(:) :: XB_ATOP_BYMESH!fraction de tous BV ds chaque maille
67 !
68 ! Variable to keep and write budget terms
69 REAL, ALLOCATABLE, DIMENSION(:,:,:) :: XB_VAR_BV
70 REAL, ALLOCATABLE, DIMENSION(:,:,:) :: XB_VAR_NOBV
71 REAL,ALLOCATABLE, DIMENSION(:,:) :: XB_VAR_TOT
72 REAL, ALLOCATABLE, DIMENSION(:,:,:) :: XB_VAR_Q
73 !
74  CHARACTER(LEN=6),ALLOCATABLE, DIMENSION(:) :: YB_VAR
75 !
76 ! Discharge variables
77 !
78 REAL, ALLOCATABLE, DIMENSION(:) :: XB_QTOT,XB_QRUN
79 REAL, ALLOCATABLE, DIMENSION(:) :: XB_QDR
80 REAL, ALLOCATABLE, DIMENSION(:) :: XB_STOCK_TOT,XB_STOCK_RUN
81 REAL, ALLOCATABLE, DIMENSION(:) :: XB_STOCK_DR
82 ! Values at the previous time step
83 REAL, ALLOCATABLE, DIMENSION(:) :: XB_QTOTM,XB_QRUNM
84 REAL, ALLOCATABLE, DIMENSION(:) :: XB_QDRM
85 !
86  CHARACTER(LEN=6),ALLOCATABLE, DIMENSION(:) :: YB_VARQ
87 !
88 END MODULE modd_budget_coupl_rout