SURFEX v8.1
General documentation of Surfex
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
real, dimension(:), allocatable xb_dg2
real, dimension(:), allocatable xb_wg2
real, dimension(:,:), allocatable xb_var_tot
real, dimension(:), allocatable xb_runoff_topd
real, dimension(:), allocatable xb_qtotm
real, dimension(:), allocatable xb_qdrm
real, dimension(:), allocatable xb_wg3m
real, dimension(:), allocatable xb_evapm
real, dimension(:), allocatable xb_stock_run
real, dimension(:), allocatable xb_mesh_size
real, dimension(:), allocatable xb_snow
real, dimension(:), allocatable xb_wrm
real, dimension(:,:,:), allocatable xb_var_nobv
real, dimension(:), allocatable xb_evap
real, dimension(:), allocatable xb_runoff_topdm
real, dimension(:), allocatable xb_swe3m
real, dimension(:), allocatable xb_swe2m
real, dimension(:,:), allocatable xb_abv_bymesh
real, dimension(:), allocatable xb_swe1m
real, dimension(:,:,:), allocatable xb_var_bv
real, dimension(:), allocatable xb_drainm
real, dimension(:), allocatable xb_wgtot
real, dimension(:), allocatable xb_swe1
real, dimension(:,:,:), allocatable xb_var_q
real, dimension(:), allocatable xb_wgi3
real, dimension(:), allocatable xb_wgi3m
real, dimension(:), allocatable xb_runoff_isba
real, dimension(:), allocatable xb_wgitot
real, dimension(:), allocatable xb_stock_tot
real, dimension(:), allocatable xb_swe3
real, dimension(:), allocatable xb_qrun
real, dimension(:), allocatable xb_wg3
real, dimension(:), allocatable xb_dg3
real, dimension(:), allocatable xb_qrunm
real, dimension(:), allocatable xb_rain
real, dimension(:), allocatable xb_qdr
real, dimension(:), allocatable xb_wg2m
real, dimension(:), allocatable xb_drain
real, dimension(:), allocatable xb_swetot
real, dimension(:), allocatable xb_wgitotm
real, dimension(:), allocatable xb_wr
real, dimension(:), allocatable xb_wgtotm
real, dimension(:), allocatable xb_atop_bymesh
real, dimension(:), allocatable xb_hortonm
real, dimension(:), allocatable xb_qtot
real, dimension(:), allocatable xb_wgi2
real, dimension(:), allocatable xb_wgi2m
real, dimension(:), allocatable xb_swe2
real, dimension(:), allocatable xb_stock_dr
real, dimension(:), allocatable xb_runoff_isbam
real, dimension(:), allocatable xb_horton