5.13.2-dev0
mHM
The mesoscale Hydrological Model
Loading...
Searching...
No Matches
mo_mrm_river_head Module Reference

River head calculation. More...

Functions/Subroutines

subroutine, public init_masked_zeros_l0 (idomain, data)
 allocates memory for L0 variable
 
subroutine, public calc_channel_elevation ()
 calculates the channel elevation from the bankfull river discharge
 
subroutine, public calc_river_head (idomain, l11_qmod, river_head)
 calculates the river head
 
real(dp) function calc_slope (idomain, elev0, fdir0, i, j)
 calculates domain slope
 

Detailed Description

River head calculation.

Enables river - groundwater interaction in mRM.

Authors
Lennart Schueler
Date
Jul 2018

Function/Subroutine Documentation

◆ calc_channel_elevation()

subroutine, public mo_mrm_river_head::calc_channel_elevation

calculates the channel elevation from the bankfull river discharge

Definition at line 43 of file mo_mrm_river_head.f90.

References calc_slope(), mo_common_variables::domainmeta, mo_mrm_global_variables::l0_channel_depth, mo_mrm_global_variables::l0_channel_elevation, mo_common_variables::l0_elev, mo_mrm_global_variables::l0_facc, mo_mrm_global_variables::l0_fdir, mo_mrm_global_variables::l0_l11_remap, mo_mrm_global_variables::l0_slope, mo_mrm_global_variables::l11_bankfull_runoff_in, mo_common_variables::level0, mo_common_constants::nodata_dp, and mo_common_constants::nodata_i4.

Referenced by mo_mrm_init::mrm_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calc_river_head()

subroutine, public mo_mrm_river_head::calc_river_head ( integer(i4), intent(in)  idomain,
real(dp), dimension(:), intent(in)  l11_qmod,
real(dp), dimension(:), intent(inout), allocatable  river_head 
)

calculates the river head

Definition at line 109 of file mo_mrm_river_head.f90.

Referenced by mo_mhm_interface_run::mhm_interface_run_do_time_step().

Here is the caller graph for this function:

◆ calc_slope()

real(dp) function mo_mrm_river_head::calc_slope ( integer(i4), intent(in)  idomain,
real(dp), dimension(:,:), intent(in), allocatable  elev0,
integer(i4), dimension(:,:), intent(in), allocatable  fdir0,
integer(i4), intent(in)  i,
integer(i4), intent(in)  j 
)
private

calculates domain slope

Definition at line 137 of file mo_mrm_river_head.f90.

References mo_mrm_net_startup::celllength(), mo_common_variables::iflag_cordinate_sys, and mo_mrm_net_startup::movedownonecell().

Referenced by calc_channel_elevation().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_masked_zeros_l0()

subroutine, public mo_mrm_river_head::init_masked_zeros_l0 ( integer(i4), intent(in)  idomain,
real(dp), dimension(:), intent(inout), allocatable  data 
)

allocates memory for L0 variable

Definition at line 31 of file mo_mrm_river_head.f90.

References mo_common_variables::level0, and mo_common_constants::nodata_dp.

Referenced by mo_mrm_init::mrm_init().

Here is the caller graph for this function: