Get information about boundary species.
More...
Get information about boundary species.
bool getBoundarySpeciesByIndex |
( |
RRHandle |
handle, |
|
|
const int |
index, |
|
|
double * |
value |
|
) |
| |
Retrieve the concentration for a particular floating species.
- Parameters
-
- Returns
- Returns true if successful
Retrieve the concentrations for all the boundary species in a vector.
Example:
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
- Returns
- Returns the vector of boundary species concentrations or null if an error occured
Obtain the list of boundary species 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
int getNumberOfBoundarySpecies |
( |
RRHandle |
handle | ) |
|
Returns the number of boundary species in the model.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
bool setBoundarySpeciesByIndex |
( |
RRHandle |
handle, |
|
|
const int |
index, |
|
|
const double |
value |
|
) |
| |
Set the concentration for a particular boundary species.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
| index | The index to the boundary species (corresponds to position in getBoundarySpeciesIds(void)) |
| value | The concentration of the species to set |
- Returns
- Returns true if successful
Set the boundary species concentration to the vector vec.
Example:
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
| vec | A vector of boundary species concentrations |
- Returns
- Returns true if successful