diff --git a/NAMESPACE b/NAMESPACE index 5189e7d9365a1ea9711b186f2044d7dbd3f682bd..a53032b9529e6f6ef859b576060be08a7564b061 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -21,7 +21,6 @@ S3method(CreateRunOptions,character) S3method(RunModel,GR) S3method(RunModel,GRiwrmInputsModel) S3method(RunModel,InputsModel) -S3method(RunModel,SD) S3method(RunModel,Supervisor) S3method(isNodeDownstream,GRiwrm) S3method(isNodeDownstream,GRiwrmInputsModel) diff --git a/R/CreateController.R b/R/CreateController.R index 6cad87fe8e7706a1fb528f15972c7936cc445cf3..7199cd35530843c2feda7c712eea07770675451e 100644 --- a/R/CreateController.R +++ b/R/CreateController.R @@ -50,7 +50,7 @@ CreateController <- function(supervisor, ctrl.id, Y, U, FUN){ if(!is.null(supervisor$controllers[[ctrl.id]])) { warning("The existing controller '", ctrl.id, "' has been overwritten in the supervisor") } else { - message("The controller has been added to the supervisor") + message("The controller '", ctrl.id, "' has been added to the supervisor") } supervisor$controllers[[ctrl.id]] <- ctrlr invisible(ctrlr) diff --git a/R/RunModel.SD.R b/R/RunModel.SD.R index 5f8b7816d913311e8d7223196c19f9c7c0115b8b..6aa056b57229862b1b1392a0c8b4a2a5b53d946c 100644 --- a/R/RunModel.SD.R +++ b/R/RunModel.SD.R @@ -5,7 +5,7 @@ #' @param ... further arguments passed to or from other methods #' #' @return `OutputsModel` object. See [airGR::RunModel_Lag] -#' @export +#' @noRd #' RunModel.SD <- function(x, RunOptions, Param, QcontribDown, ...) { if (x$isReservoir) { diff --git a/man/RunModel.SD.Rd b/man/RunModel.SD.Rd deleted file mode 100644 index 161bb4722a7696ae3ef7f82c93b0fcd8aabe39b8..0000000000000000000000000000000000000000 --- a/man/RunModel.SD.Rd +++ /dev/null @@ -1,29 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/RunModel.SD.R -\name{RunModel.SD} -\alias{RunModel.SD} -\title{Run a semi-distributed model from rainfall-runoff model outputs} -\usage{ -\method{RunModel}{SD}(x, RunOptions, Param, QcontribDown, ...) -} -\arguments{ -\item{x}{[object of class \code{InputsModel}] used as \code{InputsModel} parameter for \link[airGR:RunModel_Lag]{airGR::RunModel_Lag}} - -\item{RunOptions}{[object of class \emph{RunOptions}] see \code{\link[airGR]{CreateRunOptions}} for details} - -\item{Param}{[numeric] vector of 1 parameter - \tabular{ll}{ - Velocity \tab mean flow velocity [m/s] - } - } - -\item{QcontribDown}{[numeric] vector or [OutputsModel] containing the time series of the runoff contribution of the downstream sub-basin} - -\item{...}{further arguments passed to or from other methods} -} -\value{ -\code{OutputsModel} object. See \link[airGR:RunModel_Lag]{airGR::RunModel_Lag} -} -\description{ -Run a semi-distributed model from rainfall-runoff model outputs -}