libroadrunner C API
|
Get information about floating species. More...
Functions | |
C_DECL_SPEC RRVectorPtr rrcCallConv | getFloatingSpeciesConcentrations (RRHandle handle) |
Retrieve in a vector the concentrations for all the floating species. More... | |
C_DECL_SPEC bool rrcCallConv | setFloatingSpeciesInitialConcentrationByIndex (RRHandle handle, int index, double value) |
Set the initial concentration for a particular floating species. More... | |
C_DECL_SPEC bool rrcCallConv | getFloatingSpeciesInitialConcentrationByIndex (RRHandle handle, int index, double *value) |
Get the initial concentration for a particular floating species. More... | |
C_DECL_SPEC bool rrcCallConv | setFloatingSpeciesByIndex (RRHandle handle, const int index, const double value) |
Set the concentration for a particular floating species. More... | |
C_DECL_SPEC bool rrcCallConv | getFloatingSpeciesByIndex (RRHandle handle, const int index, double *value) |
Retrieve the concentration for a particular floating species. More... | |
C_DECL_SPEC bool rrcCallConv | setFloatingSpeciesConcentrations (RRHandle handle, const RRVectorPtr vec) |
Set the floating species concentration to the vector vec. More... | |
C_DECL_SPEC int rrcCallConv | getNumberOfFloatingSpecies (RRHandle handle) |
Returns the number of floating species in the model. More... | |
C_DECL_SPEC int rrcCallConv | getNumberOfDependentSpecies (RRHandle handle) |
Returns the number of dependent species in the model. More... | |
C_DECL_SPEC int rrcCallConv | getNumberOfIndependentSpecies (RRHandle handle) |
Returns the number of independent species in the model. More... | |
C_DECL_SPEC RRStringArrayPtr rrcCallConv | getFloatingSpeciesIds (RRHandle handle) |
Obtain the list of floating species Id. More... | |
C_DECL_SPEC RRStringArrayPtr rrcCallConv | getFloatingSpeciesConcentrationIds (RRHandle handle) |
Obtain the list of floating species concentrations Id. More... | |
Get information about floating species.
C_DECL_SPEC bool rrcCallConv getFloatingSpeciesByIndex | ( | RRHandle | handle, |
const int | index, | ||
double * | value | ||
) |
Retrieve the concentration for a particular floating species.
[in] | handle | Handle to a RoadRunner instance |
index | The index to the floating species (corresponds to position in getFloatingSpeciesIds(RRHandle handle)) | |
value | The value returned by the method |
C_DECL_SPEC RRStringArrayPtr rrcCallConv getFloatingSpeciesConcentrationIds | ( | RRHandle | handle | ) |
Obtain the list of floating species concentrations Id.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC RRVectorPtr rrcCallConv getFloatingSpeciesConcentrations | ( | RRHandle | handle | ) |
Retrieve in a vector the concentrations for all the floating species.
Example:
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC RRStringArrayPtr rrcCallConv getFloatingSpeciesIds | ( | RRHandle | handle | ) |
Obtain the list of floating species Id.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC bool rrcCallConv getFloatingSpeciesInitialConcentrationByIndex | ( | RRHandle | handle, |
int | index, | ||
double * | value | ||
) |
Get the initial concentration for a particular floating species.
[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 |
C_DECL_SPEC int rrcCallConv getNumberOfDependentSpecies | ( | RRHandle | handle | ) |
Returns the number of dependent species in the model.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC int rrcCallConv getNumberOfFloatingSpecies | ( | RRHandle | handle | ) |
Returns the number of floating species in the model.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC int rrcCallConv getNumberOfIndependentSpecies | ( | RRHandle | handle | ) |
Returns the number of independent species in the model.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC bool rrcCallConv setFloatingSpeciesByIndex | ( | RRHandle | handle, |
const int | index, | ||
const double | value | ||
) |
Set the concentration for a particular floating species.
[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 |
C_DECL_SPEC bool rrcCallConv setFloatingSpeciesConcentrations | ( | RRHandle | handle, |
const RRVectorPtr | vec | ||
) |
Set the floating species concentration to the vector vec.
Example:
[in] | handle | Handle to a RoadRunner instance |
[in] | vec | Pointer to a RRVector |
C_DECL_SPEC bool rrcCallConv setFloatingSpeciesInitialConcentrationByIndex | ( | RRHandle | handle, |
int | index, | ||
double | value | ||
) |
Set the initial concentration for a particular floating species.
[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 |