splitMultiKin.Rd 1.12 KB
Newer Older
Marco De Lucia's avatar
Marco De Lucia committed
1
2
3
4
5
6
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Rphree_Kinetics.R
\name{splitMultiKin}
\alias{splitMultiKin}
\title{Splits a named matrix of data (a column is a variable) in n simulations to run in parallel}
\usage{
7
8
9
10
11
12
13
14
15
16
17
18
19
splitMultiKin(
  data,
  procs,
  base,
  first,
  prop,
  minerals,
  kin,
  dt,
  ann,
  nmax = 200,
  verbose = FALSE
)
Marco De Lucia's avatar
Marco De Lucia committed
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
}
\arguments{
\item{data}{The matrix or data.frame containing the values to be splitted}

\item{procs}{How many processors?}

\item{base}{The base script SOLUTION block}

\item{first}{The first block to be prepended to each generated input}

\item{prop}{The names of the properties}

\item{minerals}{vector containing the indeces of the EQUILIBRIUM minerals}

\item{kin}{vector containing indeces of KINETICS minerals}

\item{dt}{time step}

\item{ann}{optional annotation to be postponed to the values}

\item{nmax}{minimum number of simulations in one "split"}
41
42

\item{verbose}{logical, defaulting to FALSE. If TRUE, some message are displayed}
Marco De Lucia's avatar
Marco De Lucia committed
43
44
45
46
47
48
49
50
51
52
53
54
55
}
\value{
a list of length "procs" with the inputs, ready to be run in parallel
}
\description{
TODO
}
\details{
TODO
}
\author{
MDL
}