mHM
The mesoscale Hydrological Model
|
Wrapper subroutine for optimization against runoff and sm. More...
Functions/Subroutines | |
subroutine, public | optimization (eval, objective, dirconfigout, funcbest, maskpara) |
Wrapper for optimization. | |
Wrapper subroutine for optimization against runoff and sm.
This module provides a wrapper subroutine for optimization of mRM/mHM against runoff or soil moisture.
COPYING
and COPYING.LESSER
provided with this software. The complete GNU license text can also be found at http://www.gnu.org/licenses/. 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.
[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(:) :: maskpara | true = parameter will be optimized = parameter(i,4) = 1 false = parameter will not be optimized = parameter(i,4) = 0 |
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().