Commit 6914c303 authored by Marco De Lucia's avatar Marco De Lucia
Browse files

Added option "verbose" to splitMulti* to suppress some messages

parent a8bd1388
......@@ -4,8 +4,8 @@
\alias{PlotModsInSample}
\title{Scatter plots of phreeqc simulations vs surrogate response}
\usage{
PlotModsInSample(mod, res, des, sample = seq(1, nrow(res)), column = TRUE,
...)
PlotModsInSample(mod, res, des, sample = seq(1, nrow(res)),
column = TRUE, ...)
}
\arguments{
\item{mod}{list of regression models, one per variable}
......@@ -20,6 +20,9 @@ PlotModsInSample(mod, res, des, sample = seq(1, nrow(res)), column = TRUE,
\item{...}{further parameters passed internally to \code{plot}}
}
\description{
Scatter plots of phreeqc simulations vs surrogate response
}
\author{
MDL
}
......@@ -5,10 +5,11 @@
\title{1D Reactive transport simulations using phreeqc or a
surrogate, equilibrium simulations}
\usage{
ReactTranspBalanceEq(setup, init, maxtime, step = c("time", "iter", "fix_dt"),
db = "phreeqc.dat", procs = 1, maxsim = 150, reduce = TRUE,
ebreak = FALSE, writeout = FALSE, surrogate = FALSE, surrogate.FUN,
model, baleq, tol = 1e-09, call_pqc = TRUE)
ReactTranspBalanceEq(setup, init, maxtime, step = c("time", "iter",
"fix_dt"), db = "phreeqc.dat", procs = 1, maxsim = 150,
reduce = TRUE, ebreak = FALSE, writeout = FALSE,
surrogate = FALSE, surrogate.FUN, model, baleq, tol = 1e-09,
call_pqc = TRUE)
}
\arguments{
\item{setup}{a list with several input parameters}
......
......@@ -6,9 +6,10 @@
surrogate}
\usage{
ReactTranspBalanceKin(setup, init, maxtime, step = c("time", "iter",
"fix_dt"), db = "phreeqc.dat", procs = 1, maxsim = 150, reduce = TRUE,
ebreak = FALSE, writeout = FALSE, surrogate = FALSE, surrogate.FUN,
model, baleq, tol = 1e-09, call_pqc = TRUE)
"fix_dt"), db = "phreeqc.dat", procs = 1, maxsim = 150,
reduce = TRUE, ebreak = FALSE, writeout = FALSE,
surrogate = FALSE, surrogate.FUN, model, baleq, tol = 1e-09,
call_pqc = TRUE)
}
\arguments{
\item{setup}{a list with several input parameters}
......
......@@ -23,6 +23,10 @@ list is searched for all possible minerals.}
\value{
A stoichiometric matrix
}
\description{
Scan a list of Rphree simulations to form stoichiometric
matrix
}
\author{
MDL
}
......@@ -4,7 +4,8 @@
\alias{splitMultiFix}
\title{Splits a data (matrix) in n simulations to run in parallel}
\usage{
splitMultiFix(data, procs, base, first, prop, minerals, nmax = 200)
splitMultiFix(data, procs, base, first, prop, minerals, nmax = 200,
verbose = FALSE)
}
\arguments{
\item{data}{the data matrix}
......@@ -20,10 +21,15 @@ splitMultiFix(data, procs, base, first, prop, minerals, nmax = 200)
\item{minerals}{indeces of EQUILIBRIUM minerals}
\item{nmax}{max number of simulations in each input}
\item{verbose}{logical, defaulting to FALSE. If TRUE, some message are displayed}
}
\value{
a list with n=procs inputs
}
\description{
Splits a data (matrix) in n simulations to run in parallel
}
\author{
MDL
}
......@@ -5,7 +5,7 @@
\title{Splits a named matrix of data (a column is a variable) in n simulations to run in parallel}
\usage{
splitMultiKin(data, procs, base, first, prop, minerals, kin, dt, ann,
nmax = 200)
nmax = 200, verbose = FALSE)
}
\arguments{
\item{data}{The matrix or data.frame containing the values to be splitted}
......@@ -27,6 +27,8 @@ splitMultiKin(data, procs, base, first, prop, minerals, kin, dt, ann,
\item{ann}{optional annotation to be postponed to the values}
\item{nmax}{minimum number of simulations in one "split"}
\item{verbose}{logical, defaulting to FALSE. If TRUE, some message are displayed}
}
\value{
a list of length "procs" with the inputs, ready to be run in parallel
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment