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

Wrapper subroutine for optimization against runoff and sm. More...

Functions/Subroutines

subroutine, public optimization (eval, objective, dirconfigout, funcbest, maskpara)
 Wrapper for optimization.
 

Detailed Description

Wrapper subroutine for optimization against runoff and sm.

This module provides a wrapper subroutine for optimization of mRM/mHM against runoff or soil moisture.

Authors
Stephan Thober
Date
Oct 2015

Function/Subroutine Documentation

◆ optimization()

subroutine, public mo_optimization::optimization ( procedure(eval_interface), intent(in), pointer  eval,
procedure(objective_interface), intent(in), pointer  objective,
character(len = *), intent(in)  dirconfigout,
real(dp), intent(out)  funcbest,
logical, dimension(:), intent(out), allocatable  maskpara 
)

Wrapper for optimization.

This subroutine selects the optimization defined in a namelist, i.e. the global variable opti_method. It return the objective function value for a specific parameter set.

Parameters
[in]procedure(eval_interface) :: eval
[in]procedure(objective_interface) :: objective- objective function used in the optimization
[in]character(len = *) :: dirConfigOut- directory where to write ascii output
[out]real(dp) :: funcbest- best objective function value obtained during optimization
[out]logical, dimension(:) :: maskparatrue = parameter will be optimized = parameter(i,4) = 1 false = parameter will not be optimized = parameter(i,4) = 0
Authors
Matthias Cuntz, Luis Samaniego, Juliane Mai, Matthias Zink and Stephan Thober
Date
Oct 2015

Definition at line 49 of file mo_optimization.F90.

References mo_common_mhm_mrm_variables::dds_r, mo_common_variables::dirconfigout, mo_common_variables::domainmeta, mo_common_variables::global_parameters, mo_common_variables::itimer, mo_common_mhm_mrm_variables::mcmc_error_params, mo_common_mhm_mrm_variables::mcmc_opti, mo_common_mhm_mrm_variables::niterations, mo_common_mhm_mrm_variables::opti_function, mo_common_mhm_mrm_variables::opti_method, mo_common_mhm_mrm_variables::optimize_restart, mo_common_mhm_mrm_variables::sa_temp, mo_common_mhm_mrm_variables::sce_ngs, mo_common_mhm_mrm_variables::sce_npg, mo_common_mhm_mrm_variables::sce_nps, and mo_common_mhm_mrm_variables::seed.

Referenced by mo_mhm_interface::mhm_interface_run_optimization().

Here is the caller graph for this function: