Values which are shared between all particles in a group and are not mutated by them - the model parameter values for that group
Internal state values which can be mutated by generators, used to improve efficiency of the system by e.g. caching calculation results for use by other particles.
Optional
getSets the initial state of a particle.
The current time at which to initialise particle state
The shared parameter values used by the particle's group
The internal state used by the particle's group
The array of values which should be updated by the generator with initial particle state values
A random number generator which may be used by the generator to initialise values
Optional
outputCompute additional quantities that are derived from the
variables. Unlike rhs, this returns a vector rather
than writing in place. Not all models include an output
method - these models have no output.
The time to compute initial conditions at
The value of the variables
The interpolated solution, which is used to compute delayed versions of variables
Compute the derivatives
The time to compute initial conditions at
The value of the variables
An array that will be written into, will hold
derivatives on exit. Must be the same length as y
The interpolated solution, which is used to compute delayed versions of variables
Updates the state of a particle from its previous state.
The new time to which the particle state should be updated.
The time step from the current time to the new time
The current state of the particle
The shared parameter values used by the particle's group
The internal state used by the particle's group
The array of values which should be updated by the generator with new particle state values
A random number generator which may be used by the generator to update values
This interface defines the functionality of a continuous time model with delays, which can be used by ContinuousSystem to initialise and update particles.