5.13.2-dev0
mHM
The mesoscale Hydrological Model
Loading...
Searching...
No Matches
mo_mrm_constants.F90
Go to the documentation of this file.
1!> \file mo_mrm_constants.f90
2!> \brief \copybrief mo_mrm_constants
3!> \details \copydetails mo_mrm_constants
4
5!> \brief Provides mRM specific constants
6!> \details Provides mRM specific constants such as flood plain elevation.
7!> \changelog
8!! - Robert Schweppe Jun 2018
9!! - refactoring and reformatting
10!> \authors Stephan Thober
11!> \date Aug 2015
12!> \copyright Copyright 2005-\today, the mHM Developers, Luis Samaniego, Sabine Attinger: All rights reserved.
13!! mHM is released under the LGPLv3+ license \license_note
14!> \ingroup f_mrm
16 use mo_kind, only : i4, dp
17 implicit none
18 ! maximum number of outputs (fluxes states) for mrM
19 integer(i4), public, parameter :: noutflxstate = 2_i4 ! max. number of outputs to write into a netcdf file
20 ! computational
21 integer(i4), public, parameter :: nroutingstates = 2 ! Dimension of the auxiliary vectors
22 ! ! which store current and past states of
23 ! ! incoming and outgoing of discharge at
24 ! ! a given node
25 ! ! (1 - past)
26 ! ! (2 - current)
27#ifdef CYGWIN
28 integer(i4), public, parameter :: maxnogauges = 50_i4 ! maximal number of gauges allowed
29#else
30 integer(i4), public, parameter :: maxnogauges = 200_i4 ! maximal number of gauges allowed
31#endif
32 ! parameters for routing
33 real(dp), public, parameter :: rout_space_weight = 0._dp ! space weighting of routing is set to 0._dp
34 ! ! This parameter has no effect on the routing
35 ! ! results, see Thober et al. 2017
36 !
37 ! hydrological modelling
38 real(dp), public, parameter :: deltah = 5.000_dp ! [m] flood plain elevation, transept, above riverbed
39 !
40 ! timesteps in [s] that can be selected by adaptive time step
41 ! these are multiples of 1 hour and 24 hours
42 real(dp), dimension(19), parameter :: given_ts = &
43 (/ 60._dp, 120._dp, 180._dp, 240._dp, 300._dp, 360._dp, &
44 600._dp, 720._dp, 900._dp, 1200._dp, 1800._dp, 3600._dp, &
45 7200._dp, 10800._dp, 14400._dp, 21600._dp, 28800._dp, 43200._dp, &
46 86400._dp/)
47
48end module mo_mrm_constants
Provides mRM specific constants.
real(dp), parameter, public deltah
integer(i4), parameter, public nroutingstates
real(dp), dimension(19), parameter given_ts
integer(i4), parameter, public noutflxstate
integer(i4), parameter, public maxnogauges
real(dp), parameter, public rout_space_weight