Get information about floating species.
More...
Get information about floating species.
bool getFloatingSpeciesByIndex |
( |
RRHandle |
handle, |
|
|
const int |
index, |
|
|
double * |
value |
|
) |
| |
Retrieve the concentration for a particular floating species.
- Parameters
-
- Returns
- Returns true if successful
Retrieve in a vector the concentrations for all the floating species.
Example:
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
- Returns
- Returns the vector of flaoting species concentrations or null if an error occured
Obtain the list of floating species Id.
- 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 getFloatingSpeciesInitialConcentrationByIndex |
( |
RRHandle |
handle, |
|
|
int |
index, |
|
|
double * |
value |
|
) |
| |
Get the initial concentration for a particular floating species.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
| index | The index to the floating species (corresponds to position in getFloatingSpeciesIds(RRHandle handle)) |
[in] | value | The concentration of the species |
- Returns
- Returns true if successful
int getNumberOfDependentSpecies |
( |
RRHandle |
handle | ) |
|
Returns the number of dependent species in the model.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
int getNumberOfFloatingSpecies |
( |
RRHandle |
handle | ) |
|
Returns the number of floating species in the model.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
int getNumberOfIndependentSpecies |
( |
RRHandle |
handle | ) |
|
Returns the number of independent species in the model.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
bool setFloatingSpeciesByIndex |
( |
RRHandle |
handle, |
|
|
const int |
index, |
|
|
const double |
value |
|
) |
| |
Set the concentration for a particular floating species.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
| index | The index to the floating species (corresponds to position in getFloatingSpeciesIds(RRHandle handle)) |
| value | The concentration of the species to set |
- Returns
- Returns true if successful
Set the floating species concentration to the vector vec.
Example:
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
[in] | vec | Pointer to a RRVector |
- Returns
- Returns true if successful
bool setFloatingSpeciesInitialConcentrationByIndex |
( |
RRHandle |
handle, |
|
|
int |
index, |
|
|
double |
value |
|
) |
| |
Set the initial concentration for a particular floating species.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
| index | The index to the floating species (corresponds to position in getFloatingSpeciesIds(RRHandle handle)) |
| value | The concentration of the species to set |
- Returns
- Returns true if successful