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

\item{procs}{How many processors?}

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

30
31
\item{first}{The first block to be prepended to each generated
input}
Marco De Lucia's avatar
Marco De Lucia committed
32
33
34

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

35
36
\item{minerals}{vector containing the indeces of the EQUILIBRIUM
minerals}
Marco De Lucia's avatar
Marco De Lucia committed
37
38
39
40
41
42
43
44

\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"}
45

46
47
\item{verbose}{logical, defaulting to FALSE. If TRUE, some message
are displayed}
Marco De Lucia's avatar
Marco De Lucia committed
48
49
}
\value{
50
51
a list of length "procs" with the inputs, ready to be run
    in parallel
Marco De Lucia's avatar
Marco De Lucia committed
52
53
}
\description{
54
55
Splits a named matrix of data (a column is a variable) in n
    simulations to run in parallel
Marco De Lucia's avatar
Marco De Lucia committed
56
57
58
59
}
\author{
MDL
}