libroadrunner C API
|
Reflective wrappers for interacting with steady state solvers and integrators. More...
Functions | |
C_DECL_SPEC int rrcCallConv | getNumRegisteredIntegrators () |
Get the number of registered integrators. More... | |
C_DECL_SPEC char *rrcCallConv | getRegisteredIntegratorName (int n) |
Get the name of a registered integrator (e.g. cvode etc.) More... | |
C_DECL_SPEC char *rrcCallConv | getRegisteredIntegratorHint (int n) |
Get the hint of a registered integrator (e.g. cvode etc.) More... | |
C_DECL_SPEC char *rrcCallConv | getRegisteredIntegratorDescription (int n) |
Get the description of a registered integrator (e.g. cvode etc.) More... | |
C_DECL_SPEC int rrcCallConv | getNumInstantiatedIntegrators (RRHandle handle) |
Get the number of instantiated integrators. \description To instantiate an integrator, use setCurrentIntegrator. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentIntegrator (RRHandle handle, char *nameOfIntegrator) |
Specify the current integrator to be used for simulation. \description This method instantiates a new integrator of the given type (e.g. cvode, gillespie) if one does not currently exist. Otherwise, the existing integrator of this type is used. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentIntegratorName (RRHandle handle) |
Obtain a description of the current integrator. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentIntegratorDescription (RRHandle handle) |
Obtain a description of the current integrator. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentIntegratorHint (RRHandle handle) |
Obtain a short hint for the current integrator. More... | |
C_DECL_SPEC int rrcCallConv | getNumberOfCurrentIntegratorParameters (RRHandle handle) |
Get the number of adjustable settings for the current integrator. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentIntegratorNthParameterName (RRHandle handle, int n) |
Get the name of a parameter of the current integrator. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentIntegratorNthParameterDescription (RRHandle handle, int n) |
Get the description of a parameter of the current integrator. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentIntegratorNthParameterDisplayName (RRHandle handle, int n) |
Get the display name of a parameter of the current integrator. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentIntegratorNthParameterHint (RRHandle handle, int n) |
Get the hint of a parameter of the current integrator. More... | |
C_DECL_SPEC int rrcCallConv | getCurrentIntegratorNthParameterType (RRHandle handle, int n) |
Get the type of a parameter of the current integrator. More... | |
C_DECL_SPEC int rrcCallConv | resetCurrentIntegratorParameters (RRHandle handle) |
Reset the integrator parameters to their default values. More... | |
C_DECL_SPEC RRStringArrayPtr rrcCallConv | getListOfCurrentIntegratorParameterNames (RRHandle handle) |
Get the names of adjustable settings for the current integrator. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentIntegratorParameterDescription (RRHandle handle, char *parameterName) |
Get the description for a specific integrator setting. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentIntegratorParameterHint (RRHandle handle, char *parameterName) |
Get the hint for a specific integrator setting. More... | |
C_DECL_SPEC int rrcCallConv | getCurrentIntegratorParameterType (RRHandle handle, char *parameterName) |
Get the return type for a specific integrator setting. More... | |
C_DECL_SPEC int rrcCallConv | getCurrentIntegratorParameterInt (RRHandle handle, char *parameterName) |
Get the integer value for a specific integrator setting. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentIntegratorParameterInt (RRHandle handle, char *parameterName, int value) |
Set the integer value for a specific integrator setting. More... | |
C_DECL_SPEC unsigned int rrcCallConv | getCurrentIntegratorParameterUInt (RRHandle handle, char *parameterName) |
Get the unsigned integer value for a specific integrator setting. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentIntegratorParameterUInt (RRHandle handle, char *parameterName, unsigned int value) |
Set the unsigned integer value for a specific integrator setting. More... | |
C_DECL_SPEC double rrcCallConv | getCurrentIntegratorParameterDouble (RRHandle handle, char *parameterName) |
Get the double value for a specific integrator setting. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentIntegratorParameterDouble (RRHandle handle, char *parameterName, double value) |
Set the double value for a specific integrator setting. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentIntegratorParameterString (RRHandle handle, char *parameterName) |
Get the string value for a specific integrator setting. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentIntegratorParameterString (RRHandle handle, char *parameterName, char *value) |
Set the string value for a specific integrator setting. More... | |
C_DECL_SPEC int rrcCallConv | getCurrentIntegratorParameterBoolean (RRHandle handle, char *parameterName) |
Get the boolean value for a specific integrator setting. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentIntegratorParameterBoolean (RRHandle handle, char *parameterName, int value) |
Set the boolean value for a specific integrator setting. More... | |
C_DECL_SPEC int rrcCallConv | getCurrentIntegratorParameterDoubleArray (RRHandle handle, char *parameterName, double **value, int *len) |
Get the double array value for a specific integrator setting. Should only used for absoluate tolerace. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentIntegratorParameterDoubleArray (RRHandle handle, char *parameterName, double *value, int len) |
Set the double array value for a specific integrator setting. Should only used for absoluate tolerace. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentIntegratorScalarConcentrationTolerance (RRHandle handle, double value) |
Set the scalar tolerance based on concentration for the current integrator. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentIntegratorVectorConcentrationTolerance (RRHandle handle, double *value, int len) |
Set the vector tolerance based on concentration for the current integrator. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentIntegratorIndividualTolerance (RRHandle handle, char *sid, double value) |
Set the double array value for a specific integrator setting. Should only used for absoluate tolerace. More... | |
C_DECL_SPEC int rrcCallConv | getNumRegisteredSteadyStateSolvers () |
Get the number of registered steady state solvers. More... | |
C_DECL_SPEC char *rrcCallConv | getRegisteredSteadyStateSolverName (int n) |
Get the name of a registered steady state solver (e.g. cvode etc.) More... | |
C_DECL_SPEC char *rrcCallConv | getRegisteredSteadyStateSolverHint (int n) |
Get the hint of a registered steady state solver (e.g. cvode etc.) More... | |
C_DECL_SPEC char *rrcCallConv | getRegisteredSteadyStateSolverDescription (int n) |
Get the description of a registered steady state solver (e.g. cvode etc.) More... | |
C_DECL_SPEC int rrcCallConv | setCurrentSteadyStateSolver (RRHandle handle, char *nameOfSteadyStateSolver) |
Specify the current steady state solver to be used for simulation. \description This method instantiates a new steady state solver of the given type (e.g. cvode, gillespie) if one does not currently exist. Otherwise, the existing steady state solver of this type is used. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentSteadyStateSolverName (RRHandle handle) |
Obtain a description of the current steady state solver. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentSteadyStateSolverDescription (RRHandle handle) |
Obtain a description of the current steady state solver. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentSteadyStateSolverHint (RRHandle handle) |
Obtain a short hint for the current steady state solver. More... | |
C_DECL_SPEC int rrcCallConv | getNumberOfCurrentSteadyStateSolverParameters (RRHandle handle) |
Get the number of adjustable settings for the current steady state solver. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentSteadyStateSolverNthParameterName (RRHandle handle, int n) |
Get the name of a parameter of the current steady state solver. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentSteadyStateSolverNthParameterDisplayName (RRHandle handle, int n) |
Get the display name of a parameter of the current steady state solver. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentSteadyStateSolverNthParameterDescription (RRHandle handle, int n) |
Get the description of a parameter of the current steady state solver. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentSteadyStateSolverNthParameterHint (RRHandle handle, int n) |
Get the hint of a parameter of the current steady state solver. More... | |
C_DECL_SPEC int rrcCallConv | getCurrentSteadyStateSolverNthParameterType (RRHandle handle, int n) |
Get the type of a parameter of the current steady state solver. More... | |
C_DECL_SPEC int rrcCallConv | resetCurrentSteadyStateSolverParameters (RRHandle handle) |
Reset the steady state solver parameters to their default values. More... | |
C_DECL_SPEC const char *rrcCallConv | solverTypeToString (int code) |
Get a string description of the type [STATIC MEMORY - DO NOT FREE] \description Can call on return value of e.g. getCurrentSteadyStateSolverNthParameterType to retrieve human-readable string representation. More... | |
C_DECL_SPEC RRStringArrayPtr rrcCallConv | getListOfCurrentSteadyStateSolverParameterNames (RRHandle handle) |
Get the names of adjustable settings for the current steady state solver. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentSteadyStateSolverParameterDescription (RRHandle handle, char *parameterName) |
Get the description for a specific steady state solver setting. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentSteadyStateSolverParameterHint (RRHandle handle, char *parameterName) |
Get the hint for a specific steady state solver setting. More... | |
C_DECL_SPEC int rrcCallConv | getCurrentSteadyStateSolverParameterType (RRHandle handle, char *parameterName) |
Get the return type for a specific steady state solver setting. More... | |
C_DECL_SPEC int rrcCallConv | getCurrentSteadyStateSolverParameterInt (RRHandle handle, char *parameterName) |
Get the integer value for a specific steady state solver setting. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentSteadyStateSolverParameterInt (RRHandle handle, char *parameterName, int value) |
Set the integer value for a specific steady state solver setting. More... | |
C_DECL_SPEC unsigned int rrcCallConv | getCurrentSteadyStateSolverParameterUInt (RRHandle handle, char *parameterName) |
Get the unsigned integer value for a specific steady state solver setting. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentSteadyStateSolverParameterUInt (RRHandle handle, char *parameterName, unsigned int value) |
Set the unsigned integer value for a specific steady state solver setting. More... | |
C_DECL_SPEC double rrcCallConv | getCurrentSteadyStateSolverParameterDouble (RRHandle handle, char *parameterName) |
Get the double value for a specific steady state solver setting. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentSteadyStateSolverParameterDouble (RRHandle handle, char *parameterName, double value) |
Set the double value for a specific steady state solver setting. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentSteadyStateSolverParameterString (RRHandle handle, char *parameterName) |
Get the string value for a specific steady state solver setting. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentSteadyStateSolverParameterString (RRHandle handle, char *parameterName, char *value) |
Set the string value for a specific steady state solver setting. More... | |
C_DECL_SPEC int rrcCallConv | getCurrentSteadyStateSolverParameterBoolean (RRHandle handle, char *parameterName) |
Get the boolean value for a specific steady state solver setting. More... | |
C_DECL_SPEC int rrcCallConv | setCurrentSteadyStateSolverParameterBoolean (RRHandle handle, char *parameterName, int value) |
Set the boolean value for a specific steady state solver setting. More... | |
Reflective wrappers for interacting with steady state solvers and integrators.
C_DECL_SPEC char* rrcCallConv getCurrentIntegratorDescription | ( | RRHandle | handle | ) |
Obtain a description of the current integrator.
[in] | handle | Handle to a RoadRunner instance. |
C_DECL_SPEC char* rrcCallConv getCurrentIntegratorHint | ( | RRHandle | handle | ) |
Obtain a short hint for the current integrator.
[in] | handle | Handle to a RoadRunner instance. |
C_DECL_SPEC char* rrcCallConv getCurrentIntegratorName | ( | RRHandle | handle | ) |
Obtain a description of the current integrator.
[in] | handle | Handle to a RoadRunner instance. |
C_DECL_SPEC char* rrcCallConv getCurrentIntegratorNthParameterDescription | ( | RRHandle | handle, |
int | n | ||
) |
Get the description of a parameter of the current integrator.
[in] | handle | Handle to a RoadRunner instance. |
[in] | n | The index of the parameter (0 <= n < getNumberOfCurrentIntegratorParameters) |
C_DECL_SPEC char* rrcCallConv getCurrentIntegratorNthParameterDisplayName | ( | RRHandle | handle, |
int | n | ||
) |
Get the display name of a parameter of the current integrator.
[in] | handle | Handle to a RoadRunner instance. |
[in] | n | The index of the parameter (0 <= n < getNumberOfCurrentIntegratorParameters) |
C_DECL_SPEC char* rrcCallConv getCurrentIntegratorNthParameterHint | ( | RRHandle | handle, |
int | n | ||
) |
Get the hint of a parameter of the current integrator.
[in] | handle | Handle to a RoadRunner instance. |
[in] | n | The index of the parameter (0 <= n < getNumberOfCurrentIntegratorParameters) |
C_DECL_SPEC char* rrcCallConv getCurrentIntegratorNthParameterName | ( | RRHandle | handle, |
int | n | ||
) |
Get the name of a parameter of the current integrator.
[in] | handle | Handle to a RoadRunner instance. |
[in] | n | The index of the parameter (0 <= n < getNumberOfCurrentIntegratorParameters) |
C_DECL_SPEC int rrcCallConv getCurrentIntegratorNthParameterType | ( | RRHandle | handle, |
int | n | ||
) |
Get the type of a parameter of the current integrator.
[in] | handle | Handle to a RoadRunner instance. |
[in] | n | The index of the parameter (0 <= n < getNumberOfCurrentIntegratorParameters) |
C_DECL_SPEC int rrcCallConv getCurrentIntegratorParameterBoolean | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the boolean value for a specific integrator setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
C_DECL_SPEC char* rrcCallConv getCurrentIntegratorParameterDescription | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the description for a specific integrator setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
C_DECL_SPEC double rrcCallConv getCurrentIntegratorParameterDouble | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the double value for a specific integrator setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
C_DECL_SPEC int rrcCallConv getCurrentIntegratorParameterDoubleArray | ( | RRHandle | handle, |
char * | parameterName, | ||
double ** | value, | ||
int * | len | ||
) |
Get the double array value for a specific integrator setting. Should only used for absoluate tolerace.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
[in] | value | Return the values as in this double array. |
[in] | len | Return the length double array. |
C_DECL_SPEC char* rrcCallConv getCurrentIntegratorParameterHint | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the hint for a specific integrator setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
C_DECL_SPEC int rrcCallConv getCurrentIntegratorParameterInt | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the integer value for a specific integrator setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
C_DECL_SPEC char* rrcCallConv getCurrentIntegratorParameterString | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the string value for a specific integrator setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
C_DECL_SPEC int rrcCallConv getCurrentIntegratorParameterType | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the return type for a specific integrator setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
C_DECL_SPEC unsigned int rrcCallConv getCurrentIntegratorParameterUInt | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the unsigned integer value for a specific integrator setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
C_DECL_SPEC char* rrcCallConv getCurrentSteadyStateSolverDescription | ( | RRHandle | handle | ) |
Obtain a description of the current steady state solver.
[in] | handle | Handle to a RoadRunner instance. |
C_DECL_SPEC char* rrcCallConv getCurrentSteadyStateSolverHint | ( | RRHandle | handle | ) |
Obtain a short hint for the current steady state solver.
[in] | handle | Handle to a RoadRunner instance. |
C_DECL_SPEC char* rrcCallConv getCurrentSteadyStateSolverName | ( | RRHandle | handle | ) |
Obtain a description of the current steady state solver.
[in] | handle | Handle to a RoadRunner instance. |
C_DECL_SPEC char* rrcCallConv getCurrentSteadyStateSolverNthParameterDescription | ( | RRHandle | handle, |
int | n | ||
) |
Get the description of a parameter of the current steady state solver.
[in] | handle | Handle to a RoadRunner instance. |
[in] | n | The index of the parameter (0 <= n < getNumberOfCurrentSteadyStateSolverParameters) |
C_DECL_SPEC char* rrcCallConv getCurrentSteadyStateSolverNthParameterDisplayName | ( | RRHandle | handle, |
int | n | ||
) |
Get the display name of a parameter of the current steady state solver.
[in] | handle | Handle to a RoadRunner instance. |
[in] | n | The index of the parameter (0 <= n < getNumberOfCurrentSteadyStateSolverParameters) |
C_DECL_SPEC char* rrcCallConv getCurrentSteadyStateSolverNthParameterHint | ( | RRHandle | handle, |
int | n | ||
) |
Get the hint of a parameter of the current steady state solver.
[in] | handle | Handle to a RoadRunner instance. |
[in] | n | The index of the parameter (0 <= n < getNumberOfCurrentSteadyStateSolverParameters) |
C_DECL_SPEC char* rrcCallConv getCurrentSteadyStateSolverNthParameterName | ( | RRHandle | handle, |
int | n | ||
) |
Get the name of a parameter of the current steady state solver.
[in] | handle | Handle to a RoadRunner instance. |
[in] | n | The index of the parameter (0 <= n < getNumberOfCurrentSteadyStateSolverParameters) |
C_DECL_SPEC int rrcCallConv getCurrentSteadyStateSolverNthParameterType | ( | RRHandle | handle, |
int | n | ||
) |
Get the type of a parameter of the current steady state solver.
[in] | handle | Handle to a RoadRunner instance. |
[in] | n | The index of the parameter (0 <= n < getNumberOfCurrentSteadyStateSolverParameters) |
C_DECL_SPEC int rrcCallConv getCurrentSteadyStateSolverParameterBoolean | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the boolean value for a specific steady state solver setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the steady state solver setting. |
C_DECL_SPEC char* rrcCallConv getCurrentSteadyStateSolverParameterDescription | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the description for a specific steady state solver setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the steady state solver setting. |
C_DECL_SPEC double rrcCallConv getCurrentSteadyStateSolverParameterDouble | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the double value for a specific steady state solver setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the steady state solver setting. |
C_DECL_SPEC char* rrcCallConv getCurrentSteadyStateSolverParameterHint | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the hint for a specific steady state solver setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the steady state solver setting. |
C_DECL_SPEC int rrcCallConv getCurrentSteadyStateSolverParameterInt | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the integer value for a specific steady state solver setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the steady state solver setting. |
C_DECL_SPEC char* rrcCallConv getCurrentSteadyStateSolverParameterString | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the string value for a specific steady state solver setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the steady state solver setting. |
C_DECL_SPEC int rrcCallConv getCurrentSteadyStateSolverParameterType | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the return type for a specific steady state solver setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the steady state solver setting. |
C_DECL_SPEC unsigned int rrcCallConv getCurrentSteadyStateSolverParameterUInt | ( | RRHandle | handle, |
char * | parameterName | ||
) |
Get the unsigned integer value for a specific steady state solver setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the steady state solver setting. |
C_DECL_SPEC RRStringArrayPtr rrcCallConv getListOfCurrentIntegratorParameterNames | ( | RRHandle | handle | ) |
Get the names of adjustable settings for the current integrator.
[in] | handle | Handle to a RoadRunner instance. |
C_DECL_SPEC RRStringArrayPtr rrcCallConv getListOfCurrentSteadyStateSolverParameterNames | ( | RRHandle | handle | ) |
Get the names of adjustable settings for the current steady state solver.
[in] | handle | Handle to a RoadRunner instance. |
C_DECL_SPEC int rrcCallConv getNumberOfCurrentIntegratorParameters | ( | RRHandle | handle | ) |
Get the number of adjustable settings for the current integrator.
[in] | handle | Handle to a RoadRunner instance. |
C_DECL_SPEC int rrcCallConv getNumberOfCurrentSteadyStateSolverParameters | ( | RRHandle | handle | ) |
Get the number of adjustable settings for the current steady state solver.
[in] | handle | Handle to a RoadRunner instance. |
C_DECL_SPEC int rrcCallConv getNumInstantiatedIntegrators | ( | RRHandle | handle | ) |
Get the number of instantiated integrators. \description To instantiate an integrator, use setCurrentIntegrator.
[in] | handle | Handle to a RoadRunner instance. |
C_DECL_SPEC int rrcCallConv getNumRegisteredIntegrators | ( | ) |
Get the number of registered integrators.
C_DECL_SPEC int rrcCallConv getNumRegisteredSteadyStateSolvers | ( | ) |
Get the number of registered steady state solvers.
C_DECL_SPEC char* rrcCallConv getRegisteredIntegratorDescription | ( | int | n | ) |
Get the description of a registered integrator (e.g. cvode etc.)
[in] | n | The index of the registered integrator |
C_DECL_SPEC char* rrcCallConv getRegisteredIntegratorHint | ( | int | n | ) |
Get the hint of a registered integrator (e.g. cvode etc.)
[in] | n | The index of the registered integrator |
C_DECL_SPEC char* rrcCallConv getRegisteredIntegratorName | ( | int | n | ) |
Get the name of a registered integrator (e.g. cvode etc.)
[in] | n | The index of the registered integrator |
C_DECL_SPEC char* rrcCallConv getRegisteredSteadyStateSolverDescription | ( | int | n | ) |
Get the description of a registered steady state solver (e.g. cvode etc.)
[in] | n | The index of the registered steady state solver |
C_DECL_SPEC char* rrcCallConv getRegisteredSteadyStateSolverHint | ( | int | n | ) |
Get the hint of a registered steady state solver (e.g. cvode etc.)
[in] | n | The index of the registered steady state solver |
C_DECL_SPEC char* rrcCallConv getRegisteredSteadyStateSolverName | ( | int | n | ) |
Get the name of a registered steady state solver (e.g. cvode etc.)
[in] | n | The index of the registered steady state solver |
C_DECL_SPEC int rrcCallConv resetCurrentIntegratorParameters | ( | RRHandle | handle | ) |
Reset the integrator parameters to their default values.
[in] | handle | Handle to a RoadRunner instance. |
C_DECL_SPEC int rrcCallConv resetCurrentSteadyStateSolverParameters | ( | RRHandle | handle | ) |
Reset the steady state solver parameters to their default values.
[in] | handle | Handle to a RoadRunner instance. |
C_DECL_SPEC int rrcCallConv setCurrentIntegrator | ( | RRHandle | handle, |
char * | nameOfIntegrator | ||
) |
Specify the current integrator to be used for simulation. \description This method instantiates a new integrator of the given type (e.g. cvode, gillespie) if one does not currently exist. Otherwise, the existing integrator of this type is used.
[in] | handle | Handle to a RoadRunner instance. |
[in] | nameOfIntegrator | Name of the integrator to be used. |
C_DECL_SPEC int rrcCallConv setCurrentIntegratorIndividualTolerance | ( | RRHandle | handle, |
char * | sid, | ||
double | value | ||
) |
Set the double array value for a specific integrator setting. Should only used for absoluate tolerace.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
[in] | value | The double array value for the integrator setting. |
[in] | len | The length of given soubld array. |
C_DECL_SPEC int rrcCallConv setCurrentIntegratorParameterBoolean | ( | RRHandle | handle, |
char * | parameterName, | ||
int | value | ||
) |
Set the boolean value for a specific integrator setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
[in] | value | The boolean value for the integrator setting. |
C_DECL_SPEC int rrcCallConv setCurrentIntegratorParameterDouble | ( | RRHandle | handle, |
char * | parameterName, | ||
double | value | ||
) |
Set the double value for a specific integrator setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
[in] | value | The double value for the integrator setting. |
C_DECL_SPEC int rrcCallConv setCurrentIntegratorParameterDoubleArray | ( | RRHandle | handle, |
char * | parameterName, | ||
double * | value, | ||
int | len | ||
) |
Set the double array value for a specific integrator setting. Should only used for absoluate tolerace.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
[in] | value | The double array value for the integrator setting. |
[in] | len | The length of given soubld array. |
C_DECL_SPEC int rrcCallConv setCurrentIntegratorParameterInt | ( | RRHandle | handle, |
char * | parameterName, | ||
int | value | ||
) |
Set the integer value for a specific integrator setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
[in] | value | The integer value for the integrator setting. |
C_DECL_SPEC int rrcCallConv setCurrentIntegratorParameterString | ( | RRHandle | handle, |
char * | parameterName, | ||
char * | value | ||
) |
Set the string value for a specific integrator setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
[in] | value | The string value for the integrator setting. |
C_DECL_SPEC int rrcCallConv setCurrentIntegratorParameterUInt | ( | RRHandle | handle, |
char * | parameterName, | ||
unsigned int | value | ||
) |
Set the unsigned integer value for a specific integrator setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the integrator setting. |
[in] | value | The integer value for the integrator setting. |
C_DECL_SPEC int rrcCallConv setCurrentIntegratorScalarConcentrationTolerance | ( | RRHandle | handle, |
double | value | ||
) |
Set the scalar tolerance based on concentration for the current integrator.
[in] | handle | Handle to a RoadRunner instance. |
[in] | value | The double value for the integrator setting. |
C_DECL_SPEC int rrcCallConv setCurrentIntegratorVectorConcentrationTolerance | ( | RRHandle | handle, |
double * | value, | ||
int | len | ||
) |
Set the vector tolerance based on concentration for the current integrator.
[in] | handle | Handle to a RoadRunner instance. |
[in] | value | The double array value for the integrator setting. |
[in] | len | The length of given soubld array. |
C_DECL_SPEC int rrcCallConv setCurrentSteadyStateSolver | ( | RRHandle | handle, |
char * | nameOfSteadyStateSolver | ||
) |
Specify the current steady state solver to be used for simulation. \description This method instantiates a new steady state solver of the given type (e.g. cvode, gillespie) if one does not currently exist. Otherwise, the existing steady state solver of this type is used.
[in] | handle | Handle to a RoadRunner instance. |
[in] | nameOfSteadyStateSolver | Name of the steady state solver to be used. |
C_DECL_SPEC int rrcCallConv setCurrentSteadyStateSolverParameterBoolean | ( | RRHandle | handle, |
char * | parameterName, | ||
int | value | ||
) |
Set the boolean value for a specific steady state solver setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the steady state solver setting. |
[in] | value | The boolean value for the steady state solver setting. |
C_DECL_SPEC int rrcCallConv setCurrentSteadyStateSolverParameterDouble | ( | RRHandle | handle, |
char * | parameterName, | ||
double | value | ||
) |
Set the double value for a specific steady state solver setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the steady state solver setting. |
[in] | value | The double value for the steady state solver setting. |
C_DECL_SPEC int rrcCallConv setCurrentSteadyStateSolverParameterInt | ( | RRHandle | handle, |
char * | parameterName, | ||
int | value | ||
) |
Set the integer value for a specific steady state solver setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the steady state solver setting. |
[in] | value | The integer value for the steady state solver setting. |
C_DECL_SPEC int rrcCallConv setCurrentSteadyStateSolverParameterString | ( | RRHandle | handle, |
char * | parameterName, | ||
char * | value | ||
) |
Set the string value for a specific steady state solver setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the steady state solver setting. |
[in] | value | The string value for the steady state solver setting. |
C_DECL_SPEC int rrcCallConv setCurrentSteadyStateSolverParameterUInt | ( | RRHandle | handle, |
char * | parameterName, | ||
unsigned int | value | ||
) |
Set the unsigned integer value for a specific steady state solver setting.
[in] | handle | Handle to a RoadRunner instance. |
[in] | parameterName | Name of the steady state solver setting. |
[in] | value | The integer value for the steady state solver setting. |
C_DECL_SPEC const char* rrcCallConv solverTypeToString | ( | int | code | ) |
Get a string description of the type [STATIC MEMORY - DO NOT FREE] \description Can call on return value of e.g. getCurrentSteadyStateSolverNthParameterType to retrieve human-readable string representation.
[in] | code | Type code for the parameter |