libroadrunner C API
Functions
Initial conditions group

Set or get initial conditions. More...

Functions

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

Detailed Description

Set or get initial conditions.

Function Documentation

◆ getFloatingSpeciesInitialConcentrationIds()

C_DECL_SPEC RRStringArrayPtr rrcCallConv getFloatingSpeciesInitialConcentrationIds ( RRHandle  handle)

Get the initial floating species Ids.

Example:

C_DECL_SPEC RRStringArrayPtr rrcCallConv getFloatingSpeciesInitialConcentrationIds(RRHandle handle)
Get the initial floating species Ids.
void * RRHandle
Void pointer to a RoadRunner instance.
Definition: rrc_types.h:50
Parameters
[in]handleHandle to a RoadRunner instance
Returns
Returns null if it fails otherwise returns a vector containing names of the floating species

◆ getFloatingSpeciesInitialConcentrations()

C_DECL_SPEC RRVectorPtr rrcCallConv getFloatingSpeciesInitialConcentrations ( RRHandle  handle)

Get the initial floating species concentrations.

Example:

C_DECL_SPEC RRVectorPtr rrcCallConv getFloatingSpeciesInitialConcentrations(RRHandle handle)
Get the initial floating species concentrations.
Parameters
[in]handleHandle to a RoadRunner instance
Returns
Returns null if it fails otherwise returns a vector containing the initial conditions

◆ getFloatingSpeciesInitialConditionIds()

C_DECL_SPEC RRStringArrayPtr rrcCallConv getFloatingSpeciesInitialConditionIds ( RRHandle  handle)

Get the initial floating species Ids.

Deprecated:
Use getFloatingSpeciesInitialConcentrationIds

Example:

C_DECL_SPEC RRStringArrayPtr rrcCallConv getFloatingSpeciesInitialConditionIds(RRHandle handle)
Get the initial floating species Ids.
Parameters
[in]handleHandle to a RoadRunner instance
Returns
Returns null if it fails otherwise returns a vector containing names of the floating species

◆ setFloatingSpeciesInitialConcentrations()

C_DECL_SPEC bool rrcCallConv setFloatingSpeciesInitialConcentrations ( RRHandle  handle,
const RRVectorPtr  vec 
)

Set the initial floating species concentrations.

Example:

C_DECL_SPEC bool rrcCallConv setFloatingSpeciesInitialConcentrations(RRHandle handle, const RRVectorPtr vec)
Set the initial floating species concentrations.
Parameters
[in]handleHandle to a RoadRunner instance
vecA vector of species concentrations: order given by getFloatingSpeciesIds(RRHandle handle)
Returns
Returns true if successful