libRoadRunner C API  1.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Initial conditions group

Set or get initial conditions. More...

Functions

bool setFloatingSpeciesInitialConcentrations (RRHandle handle, const RRVectorPtr vec)
 Set the initial floating species concentrations. More...
 
RRVectorPtr getFloatingSpeciesInitialConcentrations (RRHandle handle)
 Get the initial floating species concentrations. More...
 
RRStringArrayPtr getFloatingSpeciesInitialConditionIds (RRHandle handle)
 Get the initial floating species Ids. More...
 

Detailed Description

Set or get initial conditions.

Function Documentation

RRVectorPtr getFloatingSpeciesInitialConcentrations ( RRHandle  handle)

Get the initial floating species concentrations.

Example:

Parameters
[in]handleHandle to a RoadRunner instance
Returns
Returns null if it fails otherwise returns a vector containing the initial conditions
RRStringArrayPtr getFloatingSpeciesInitialConditionIds ( RRHandle  handle)

Get the initial floating species Ids.

Example:

Parameters
[in]handleHandle to a RoadRunner instance
Returns
Returns null if it fails otherwise returns a vector containing names of the floating species
bool setFloatingSpeciesInitialConcentrations ( RRHandle  handle,
const RRVectorPtr  vec 
)

Set the initial floating species concentrations.

Example:

Parameters
[in]handleHandle to a RoadRunner instance
vecA vector of species concentrations: order given by getFloatingSpeciesIds(RRHandle handle)
Returns
Returns true if successful