An error occurred while loading the file. Please try again.
-
Dorchies David authorede91aab2f
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convert_sic_params.R
\name{convert_sic_params}
\alias{convert_sic_params}
\title{Convert a list of parameters into command line arguments for Fortran SIC programs}
\usage{
convert_sic_params(params, cfg = loadConfig())
}
\arguments{
\item{params}{a \link{list} of \link{character} containing the parameters to send to the fortran program with format \code{list(param=value, ...)}}
\item{cfg}{a \link{config} object. Configuration to use. See \link{loadConfig} for details}
}
\value{
A \link{character} with each parameter is converted to \verb{[key param]=[value param]} and each parameter separated by a space character.
}
\description{
This function is called by \link{sic_run_fortran} to convert list of parameters into a \link{character} command line parameters.
}
\details{
The parameter \code{INTERF} is set to 0 (zero) by default.
}
\examples{
\dontrun{
cfg <- cfg_tmp_project()
convert_sic_params(list(SCE = 1, VAR = 1), cfg = cfg)
}
}