5.13.2-dev0
mHM
The mesoscale Hydrological Model
Loading...
Searching...
No Matches
mo_common_constants.f90
Go to the documentation of this file.
1!> \file mo_common_constants.f90
2!> \brief \copybrief mo_common_constants
3!> \details \copydetails mo_common_constants
4
5!> \brief Provides constants commonly used by mHM, mRM and MPR
6!> \details Provides commonly used by mHM, mRM and MPR such as no_data values and eps
7!> \changelog
8!! - Robert Schweppe Jun 2018
9!! - refactoring and reformatting
10!> \authors Robert Schweppe
11!> \date Dec 2017
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_common
16
17 USE mo_kind, ONLY : i4, dp, sp
18
19 IMPLICIT NONE
20
21 PRIVATE
22
23 ! Computational
24 !> epsilon(1.0) in double precision
25 REAL(dp), public, PARAMETER :: eps_dp = epsilon(1.0_dp)
26 !> epsilon(1.0) in single precision
27 REAL(sp), public, PARAMETER :: eps_sp = epsilon(1.0_sp)
28
29 ! computational, these values need to be the same!!!
30 integer(i4), public, parameter :: nodata_i4 = -9999_i4 ! [-] global no data value
31 real(dp), public, parameter :: nodata_dp = -9999._dp ! [-] global no data value
32
33 ! default inital values for states and fluxes as well as parameter fields
34 real(dp), public, parameter :: p1_initstatefluxes = 0.00_dp
35
36 ! hydrologic modeling
37 integer(i4), public, parameter :: ncolpars = 5_i4 ! number of properties of the global variables
38 integer(i4), public, parameter :: maxnodomains = 50_i4 ! maximum number of allowed domains
39 integer(i4), public, parameter :: maxnlcovers = 50_i4 ! maximum number of allowed LCover scenes
40
41 character(64), public, parameter :: soilhorizonsvarname = "L1_SoilHorizons"
42 character(64), public, parameter :: landcoverperiodsvarname = "L1_LandCoverPeriods"
43 character(64), public, parameter :: laivarname = "L1_LAITimesteps"
44
45
46END MODULE mo_common_constants
Provides constants commonly used by mHM, mRM and MPR.
character(64), parameter, public soilhorizonsvarname
real(sp), parameter, public eps_sp
epsilon(1.0) in single precision
real(dp), parameter, public p1_initstatefluxes
character(64), parameter, public landcoverperiodsvarname
integer(i4), parameter, public ncolpars
real(dp), parameter, public eps_dp
epsilon(1.0) in double precision
character(64), parameter, public laivarname
integer(i4), parameter, public maxnodomains
integer(i4), parameter, public maxnlcovers
real(dp), parameter, public nodata_dp
integer(i4), parameter, public nodata_i4