Compute derivatives, fluxes, and other values of the system at the current state.
More...
Compute derivatives, fluxes, and other values of the system at the current state.
◆ evalModel()
C_DECL_SPEC bool rrcCallConv evalModel |
( |
RRHandle |
handle | ) |
|
Evaluate the current model, that it update all assignments and rates of change. Do not carry out an integration step.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
- Returns
- Returns false if it fails
◆ getAvailableSteadyStateSymbols()
Obtain the list of all available steady state symbols.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
- Returns
- Returns -1 if it fails, if successful it returns a pointer to a RRListPtr struct
◆ getAvailableTimeCourseSymbols()
Obtain the list of all available symbols.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
- Returns
- Returns -1 if it fails, if successful it returns a pointer to a RRListHandle struct
◆ getEigenvalueIds()
Obtain the list of eigenvalue Ids.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
- Returns
- Returns -1 if it fails, if successful it returns a pointer to a RRStringArrayPtr struct
◆ getValue()
C_DECL_SPEC bool rrcCallConv getValue |
( |
RRHandle |
handle, |
|
|
const char * |
symbolId, |
|
|
double * |
value |
|
) |
| |
Get the value for a given symbol, use getAvailableTimeCourseSymbols(void) for a list of symbols.
Example:
status =
getValue (rrHandle,
"S1", &value);
C_DECL_SPEC bool rrcCallConv getValue(RRHandle handle, const char *symbolId, double *value)
Get the value for a given symbol, use getAvailableTimeCourseSymbols(void) for a list of symbols.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
| symbolId | The symbol that we wish to obtain the value for |
| value | The value that will be retrieved |
- Returns
- Returns true if successful
◆ setValue()
C_DECL_SPEC bool rrcCallConv setValue |
( |
RRHandle |
handle, |
|
|
const char * |
symbolId, |
|
|
const double |
value |
|
) |
| |
Set the value for a given symbol, use getAvailableTimeCourseSymbols(void) for a list of symbols.
Example:
status =
setValue (rrHandle,
"S1", 0.5);
C_DECL_SPEC bool rrcCallConv setValue(RRHandle handle, const char *symbolId, const double value)
Set the value for a given symbol, use getAvailableTimeCourseSymbols(void) for a list of symbols.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
| symbolId | The symbol that we wish to set the value |
| value | The value that will be set to the symbol |
- Returns
- Returns true if successful