The model to wrap
Parameters to set into the model on construction
String, describing the action to take
if there are unknown values in pars
- possible values are
"error", "ignore", "warning" and "message"
Return the state of the internal storage - odin uses this for debugging and testing.
Run the model, returning output at particular points in time. Note that this is quite a different interface to that used in wodinRun in order to match the interface expected by odin, but also due to limitations of what can be carried across the R/JS boundary.
A vector of times to integrate over. Must be in increasing order, and at least two values given. The first time is the time that the integration starts from.
Initial conditions, or null
to use values from
initial
Control parameters, passed through to the solver, see
dopri.DopriControlParam
Names of all variables (and outputs) in the system
Statistics from the solver about work done
The last estimated error in the solution
The number of evaluations of the rhs function
The number of steps attempted
The number of steps accepted
The number of steps rejected
The number of stiff checks that were non-stiff
The number of stiff checks that were stiff
Array-of-arrays with the result y[i][j]
is the j
th
output at the i
th time
Change parameters in a model after it has been initialised.
Parameters to set. Values that are omitted are not replaced by their defaults.
Action to take if unknown values are
found in pars
, see constructor
Generated using TypeDoc
Wrapper class around an OdinModel designed to be driven from the R package odin