An error occurred while loading the file. Please try again.
-
Olivier Kaufmann authored
Renames io as connection; renames mux_2023_rev_0_0 and mux_2024_rev_0_0 as mux_2023_0_X and mux_2024_0_X; renames ohmpi_card_3_15 as mb_2023_0_X
f6b37f5e
#*****************************************************************************************************************
#' Function which performs a single model run with the provided function.
#*****************************************************************************************************************
#' @title Run with the provided hydrological model function
#' @author Laurent Coron (June 2014)
#' @seealso \code{\link{RunModel_GR4J}}, \code{\link{RunModel_CemaNeigeGR4J}}, \code{\link{CreateInputsModel}}, \code{\link{CreateRunOptions}}.
#' @example tests/example_RunModel.R
#' @useDynLib airgr
#' @encoding UTF-8
#' @export
#_FunctionInputs__________________________________________________________________________________________________
#' @param InputsModel [object of class \emph{InputsModel}] see \code{\link{CreateInputsModel}} for details
#' @param RunOptions [object of class \emph{RunOptions}] see \code{\link{CreateRunOptions}} for details
#' @param Param [numeric] vector of model parameters
#' @param FUN_MOD [function] hydrological model function (e.g. RunModel_GR4J, RunModel_CemaNeigeGR4J)
#_FunctionOutputs_________________________________________________________________________________________________
#' @return [list] see \code{\link{RunModel_GR4J}} or \code{\link{RunModel_CemaNeigeGR4J}} for details
#*****************************************************************************************************************'
RunModel <- function(InputsModel,RunOptions,Param,FUN_MOD){
return( FUN_MOD(InputsModel,RunOptions,Param) )
}