libroadrunner C API
Functions
Steady state routines

Compute and obtain basic information about the steady state. More...

Functions

C_DECL_SPEC bool rrcCallConv steadyState (RRHandle handle, double *value)
 Compute the steady state of the current model. More...
 
C_DECL_SPEC RRVectorPtr rrcCallConv computeSteadyStateValues (RRHandle handle)
 A convenient method for returning a vector of the steady state species concentrations. More...
 
C_DECL_SPEC bool rrcCallConv setSteadyStateSelectionList (RRHandle handle, const char *list)
 Set the selection list of the steady state analysis. More...
 
C_DECL_SPEC RRStringArrayPtr rrcCallConv getSteadyStateSelectionList (RRHandle handle)
 Get the selection list for the steady state analysis. More...
 

Detailed Description

Compute and obtain basic information about the steady state.

Function Documentation

◆ computeSteadyStateValues()

C_DECL_SPEC RRVectorPtr rrcCallConv computeSteadyStateValues ( RRHandle  handle)

A convenient method for returning a vector of the steady state species concentrations.

Example:

RRVectorHandle values = computeSteadyStateValues (void);
C_DECL_SPEC RRVectorPtr rrcCallConv computeSteadyStateValues(RRHandle handle)
A convenient method for returning a vector of the steady state species concentrations.
Parameters
[in]handleHandle to a RoadRunner instance
Returns
Returns the vector of steady state values or null if an error occurred. The order of species in the vector is indicated by the order of species Ids in a call to getFloatingSpeciesIds(void)

◆ getSteadyStateSelectionList()

C_DECL_SPEC RRStringArrayPtr rrcCallConv getSteadyStateSelectionList ( RRHandle  handle)

Get the selection list for the steady state analysis.

Parameters
[in]handleHandle to a RoadRunner instance
Returns
Returns null if it fails, otherwise it returns a list of strings representing symbols in the selection list

◆ setSteadyStateSelectionList()

C_DECL_SPEC bool rrcCallConv setSteadyStateSelectionList ( RRHandle  handle,
const char *  list 
)

Set the selection list of the steady state analysis.

Use getAvailableTimeCourseSymbols(void) to retrieve the list of all possible symbols.

Example:

or
C_DECL_SPEC bool rrcCallConv setSteadyStateSelectionList(RRHandle handle, const char *list)
Set the selection list of the steady state analysis.
Parameters
[in]handleHandle to a RoadRunner instance
[in]listThe string argument should be a space separated list of symbols.
Returns
Returns true if successful

◆ steadyState()

C_DECL_SPEC bool rrcCallConv steadyState ( RRHandle  handle,
double *  value 
)

Compute the steady state of the current model.

Example:

status = steadyState (rrHandle, &closenessToSteadyState);
C_DECL_SPEC bool rrcCallConv steadyState(RRHandle handle, double *value)
Compute the steady state of the current model.
Parameters
[in]handleHandle to a RoadRunner instance
valueThis value is set during the call and indicates how close the solution is to the steady state. The smaller the value the better. Values less than 1E-6 usually indicate a steady state has been found. If necessary call the method a second time to improve the solution.
Returns
Returns true if successful