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

Python wrapper module to control a mHM model run per time step. More...

Functions/Subroutines

subroutine prepare ()
 Prepare a mHM model run.
 
subroutine get_ndomains (n)
 Get the number of domains of the current mHM model run.
 
subroutine prepare_domain (domain)
 Prepare a certain domain of the current mHM model run.
 
subroutine finished (output)
 Check if the current mHM model time loop is finished.
 
subroutine do_time_step ()
 Do one time-step on the current domain of the current mHM model run.
 
subroutine write_output ()
 Write output for the current domain of the current mHM model run.
 
subroutine finalize_domain ()
 Finalize the current domain of the current mHM model run.
 
subroutine finalize ()
 Finalize the current mHM model run.
 
subroutine current_time (year, month, day, hour)
 Get the current time the current domain of the current mHM model run.
 

Detailed Description

Python wrapper module to control a mHM model run per time step.

Date
Nov 2022

Function/Subroutine Documentation

◆ current_time()

subroutine run::current_time ( integer(i4), intent(out)  year,
integer(i4), intent(out)  month,
integer(i4), intent(out)  day,
integer(i4), intent(out)  hour 
)

Get the current time the current domain of the current mHM model run.

Parameters
[out]yearcurrent year
[out]monthcurrent month
[out]daycurrent day
[out]hourcurrent hour

Definition at line 236 of file wrapper.f90.

References mo_common_run_variables::run_cfg.

◆ do_time_step()

subroutine run::do_time_step

Do one time-step on the current domain of the current mHM model run.

Definition at line 208 of file wrapper.f90.

References mo_mhm_interface_run::mhm_interface_run_do_time_step().

Here is the call graph for this function:

◆ finalize()

subroutine run::finalize

Finalize the current mHM model run.

Definition at line 229 of file wrapper.f90.

References mo_mhm_interface_run::mhm_interface_run_finalize().

Here is the call graph for this function:

◆ finalize_domain()

subroutine run::finalize_domain

Finalize the current domain of the current mHM model run.

Definition at line 222 of file wrapper.f90.

References mo_mhm_interface_run::mhm_interface_run_finalize_domain().

Here is the call graph for this function:

◆ finished()

subroutine run::finished ( logical, intent(out)  output)

Check if the current mHM model time loop is finished.

Parameters
[out]outputwhether the current time loop finished

Definition at line 200 of file wrapper.f90.

References mo_mhm_interface_run::mhm_interface_run_finished().

Here is the call graph for this function:

◆ get_ndomains()

subroutine run::get_ndomains ( integer(i4), intent(out)  n)

Get the number of domains of the current mHM model run.

Parameters
[out]nnumber of domains

Definition at line 183 of file wrapper.f90.

References mo_mhm_interface_run::mhm_interface_run_get_ndomains().

Here is the call graph for this function:

◆ prepare()

subroutine run::prepare

Prepare a mHM model run.

Definition at line 176 of file wrapper.f90.

References mo_mhm_interface_run::mhm_interface_run_prepare().

Here is the call graph for this function:

◆ prepare_domain()

subroutine run::prepare_domain ( integer(i4), intent(in)  domain)

Prepare a certain domain of the current mHM model run.

Parameters
[in]domaindomain index (1 based and 1 by default)

Definition at line 191 of file wrapper.f90.

References mo_mhm_interface_run::mhm_interface_run_prepare_domain().

Here is the call graph for this function:

◆ write_output()

subroutine run::write_output

Write output for the current domain of the current mHM model run.

Definition at line 215 of file wrapper.f90.

References mo_mhm_interface_run::mhm_interface_run_write_output().

Here is the call graph for this function: