Initialize library and terminate library instance.
More...
Initialize library and terminate library instance.
Initialize a new roadRunner instance and return a handle to it.
- Returns
- Returns a RoadRunner instance, returns null if it fails
RRHandle 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
Free the roadRunner instance.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
char* getInstallFolder |
( |
void |
| ) |
|
Returns the folder in which the RoadRunner API is installed.
- Returns
- Pointer to string holding the install folder
bool 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
bool setInstallFolder |
( |
const char * |
folder | ) |
|
Set the internal string containing the folder in where the RoadRunner C API is installed.
- Parameters
-
[in] | folder | Pointer to string holding the install folder |
- Returns
- Boolean indicating success