Initialize library and terminate library instance.
More...
Initialize library and terminate library instance.
◆ createRRInstance()
C_DECL_SPEC RRHandle rrcCallConv createRRInstance |
( |
void |
| ) |
|
Initialize a new roadRunner instance and return a handle to it.
- Returns
- Returns a RoadRunner instance, returns null if it fails
◆ createRRInstanceEx()
C_DECL_SPEC RRHandle rrcCallConv createRRInstanceEx |
( |
const char * |
tempFolder, |
|
|
const char * |
compiler |
|
) |
| |
Initialize a new roadRunner instance and return a handle to it.
- Parameters
-
[in] | tempFolder | set roadrunners temporary folder |
[in] | compiler | may be NULL, if NULL, uses default compiler. If LLVM build is enabled, setting compiler to "llvm" enables llvm based model generation. |
- Returns
- Returns a RoadRunner instance, returns null if it fails
◆ freeRRInstance()
C_DECL_SPEC bool rrcCallConv freeRRInstance |
( |
RRHandle |
handle | ) |
|
Free the roadRunner instance.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
◆ getComputeAndAssignConservationLaws()
C_DECL_SPEC int rrcCallConv getComputeAndAssignConservationLaws |
( |
RRHandle |
handle, |
|
|
int * |
value |
|
) |
| |
Get the value of the moiety conservation setting.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
[out] | value | A place to store the value |
- Returns
- Returns true if successful
◆ getInstallFolder()
char* getInstallFolder |
( |
void |
| ) |
|
Returns the folder in which the RoadRunner wrappers is installed.
- Returns
- Pointer to string holding the install folder
◆ setComputeAndAssignConservationLaws()
C_DECL_SPEC bool rrcCallConv setComputeAndAssignConservationLaws |
( |
RRHandle |
handle, |
|
|
const bool |
On_Or_Off |
|
) |
| |
Enable or disable conservation analysis.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
[in] | On_Or_Off | Set true to switch on conservation analysis |
- Returns
- Returns true if successful
◆ setInstallFolder()
C_DECL_SPEC bool rrcCallConv setInstallFolder |
( |
const char * |
folder | ) |
|
Set the internal string containing the folder in where the RoadRunner C wrappers is installed.
- Parameters
-
[in] | folder | Pointer to string holding the install folder |
- Returns
- Boolean indicating success