14 use mo_kind,
only : i4, dp
24 integer(i4) :: time_step
26 integer(i4) :: selected_domain
28 integer(i4) :: ndomains
30 logical :: output_runoff = .false.
32 logical :: output_bfi = .false.
34 real(dp),
dimension(:),
allocatable :: parameterset
36 integer(i4),
dimension(:),
allocatable :: domain_indices
38 real(dp),
dimension(:, :, :),
allocatable :: l1_fnotsealed
50 integer(i4),
dimension(6) :: imeteo_p5
58 integer(i4),
dimension(6) :: s_p5, e_p5
60 integer(i4) :: s_meteo, e_meteo
62 logical,
dimension(:, :),
pointer :: mask1
64 integer(i4) :: imeteots
68 integer(i4) :: idischargets
70 integer(i4) :: s11, e11
72 real(dp) :: tsroutfactor
74 real(dp) :: tsroutfactorin
78 integer(i4) :: timestep_rout
80 real(dp),
allocatable,
dimension(:) :: runtorout
82 real(dp),
allocatable,
dimension(:) :: inflowdischarge
84 logical,
pointer,
dimension(:, :) :: mask11
104 integer(i4),
intent(in) :: i
105 idx = self%domain_indices(i)
112 if (
allocated(self%parameterset) )
deallocate(self%parameterset)
113 if (
allocated(self%domain_indices) )
deallocate(self%domain_indices)
114 if (
allocated(self%L1_fNotSealed) )
deallocate(self%L1_fNotSealed)
115 if (
allocated(self%RunToRout) )
deallocate(self%RunToRout)
116 if (
allocated(self%InflowDischarge) )
deallocate(self%InflowDischarge)
type for date time information with an increment subroutine
Provides structures needed by mhm_eval to store current run config.
type(run_cfg_t), public run_cfg
This is a container to hold all information while running mHM.
integer(i4) function get_domain_index(self, i)
get domain index from domain loop counter
subroutine clean_up(self)
clean up run variables
Creates NetCDF output for different fluxes and state variables of mHM.
This is a container to hold all information while running mHM.