Get information about reaction rates.
More...
Get information about reaction rates.
int getNumberOfReactions |
( |
RRHandle |
handle | ) |
|
Obtain the number of reactions in the loaded model.
Example:
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
- Returns
- Returns -1 if it fails, if succesful it return 0 or more, indicating the number of reactions
Obtain the list of reaction Ids.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
- Returns
- Returns null if it fails, if succesful it returns a pointer to a RRStringArrayPtr struct
bool getReactionRate |
( |
RRHandle |
handle, |
|
|
const int |
index, |
|
|
double * |
rate |
|
) |
| |
Retrieve a give reaction rate as indicated by the index parameter.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
| index | - The index is used to specify which reaction rate to retrieve |
| rate | - The reaction rate is returned in the rate argument |
- Returns
- Returns false if it fails
Retrieve a vector of reaction rates as determined by the current state of the model.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
- Returns
- Returns null if it fails, otherwise it returns a vector of reaction rates
Retrieve a vector of reaction rates given a vector of species concentrations.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
| vec | The vector of floating species concentrations |
- Returns
- Returns null if it fails otherwise it returns a vector of reaction rates