Stoich

class Stoich
setPath()

(destination message field) Assigns field value.

getPath()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

setKsolve()

(destination message field) Assigns field value.

getKsolve()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

setDsolve()

(destination message field) Assigns field value.

getDsolve()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

setCompartment()

(destination message field) Assigns field value.

getCompartment()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

getNumVarPools()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

getNumBufPools()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

getNumAllPools()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

getNumProxyPools()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

getPoolIdMap()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

getNumRates()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

getMatrixEntry()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

getColumnIndex()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

getRowStart()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

getProxyPools()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

getStatus()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

unzombify()

(destination message field) Restore all zombies to their native state

buildXreacs()

(destination message field) Build cross-reaction terms between current stoich and argument. This function scans the voxels at which there are junctions between different compartments, and orchestrates set up of interfaces between the Ksolves that implement the X reacs at those junctions.

filterXreacs()

(destination message field) Filter cross-reaction terms on current stoichThis function clears out absent rate terms that would otherwise try to compute cross reactions where the junctions are not present.

scaleBufsAndRates()

(destination message field) Args: voxel#, volRatio Handles requests for runtime volume changes in the specified voxel#, Used in adaptors changing spine vols.

path

string (value field) Wildcard path for reaction system handled by Stoich

ksolve

Id (value field) Id of Kinetic reaction solver class that works with this Stoich. Must be of class Ksolve, or Gsolve (at present) Must be assigned before the path is set.

dsolve

Id (value field) Id of Diffusion solver class that works with this Stoich. Must be of class Dsolve If left unset then the system will be assumed to work in a non-diffusive, well-stirred cell. If it is going to be used it must be assigned before the path is set.

compartment

Id (value field) Id of chemical compartment class that works with this Stoich. Must be derived from class ChemCompt. If left unset then the system will be assumed to work in a non-diffusive, well-stirred cell. If it is going to be used it must be assigned before the path is set.

numVarPools

unsigned int (value field) Number of time-varying pools to be computed by the numerical engine

numBufPools

unsigned int (value field) Number of buffered pools to be computed by the numerical engine. Includes pools controlled by functions.

numAllPools

unsigned int (value field) Total number of pools handled by the numerical engine. This includes variable ones, buffered ones, and functions. It includes local pools as well as cross-solver proxy pools.

numProxyPools

unsigned int (value field) Number of pools here by proxy as substrates of a cross-compartment reaction.

poolIdMap

vector<unsigned int> (value field) Map to look up the index of the pool from its Id.poolIndex = poolIdMap[ Id::value() - poolOffset ] where the poolOffset is the smallest Id::value. poolOffset is passed back as the last entry of this vector. Any Ids that are not pools return EMPTY=~0.

numRates

unsigned int (value field) Total number of rate terms in the reaction system.

matrixEntry

vector<int> (value field) The non-zero matrix entries in the sparse matrix. Theircolumn indices are in a separate vector and the rowinformatino in a third

columnIndex

vector<unsigned int> (value field) Column Index of each matrix entry

rowStart

vector<unsigned int> (value field) Row start for each block of entries and column indices

status
int (value field) Status of Stoich in the model building process. Values are: -1: Reaction path not yet assigned.
0: Successfully built stoichiometry matrix. 1: Warning: Missing a reactant in a Reac or Enz. 2: Warning: Missing a substrate in an MMenz. 3: Warning: Missing substrates as well as reactants. 4: Warning: Compartment not defined. 8: Warning: Neither Ksolve nor Dsolve defined. 16: Warning: No objects found on path.
proxyPools

Id,vector<Id> (lookup field) Return vector of proxy pools for X-compt reactions between current stoich, and the argument, which is a StoichId. The returned pools belong to the compartment handling the Stoich specified in the argument. If no pools are found, return an empty vector.