CTREACTORNET - Generated CLib Cantera interface library. More...
CTREACTORNET - Generated CLib Cantera interface library.
Generated CLib API for Cantera's ReactorNet class.
This library of functions is designed to encapsulate Cantera functionality and make it available for use in languages and applications other than C++. A set of library functions is provided that are declared "extern C". All Cantera objects are stored and referenced by integers - no pointers are passed to or from the calling application.
This file was generated by sourcegen. It will be re-generated by the Cantera build process. Do not manually edit.
Definition in file ctreactornet.h.
Go to the source code of this file.
Functions | |
int32_t | reactornet_new (int32_t reactorsLen, int32_t *reactors) |
Create a reactor network containing one or more coupled reactors. | |
int32_t | reactornet_setInitialTime (int32_t handle, double time) |
Set the initial value of the independent variable (typically time). | |
int32_t | reactornet_setMaxTimeStep (int32_t handle, double maxstep) |
Set the maximum integrator step. | |
int32_t | reactornet_setTolerances (int32_t handle, double rtol, double atol) |
Set the relative and absolute tolerances for the integrator. | |
int32_t | reactornet_setSensitivityTolerances (int32_t handle, double rtol, double atol) |
Set the relative and absolute tolerances for integrating the sensitivity equations. | |
int32_t | reactornet_advance (int32_t handle, double t) |
Advance the state of all reactors in the independent variable (time or space). | |
double | reactornet_step (int32_t handle) |
Advance the state of all reactors with respect to the independent variable (time or space). | |
double | reactornet_time (int32_t handle) |
Current value of the simulation time [s], for reactor networks that are solved in the time domain. | |
double | reactornet_rtol (int32_t handle) |
Relative tolerance. | |
double | reactornet_atol (int32_t handle) |
Absolute integration tolerance. | |
double | reactornet_sensitivity (int32_t handle, const char *component, int32_t p, int32_t reactor) |
Return the sensitivity of the component named. | |
int32_t | reactornet_del (int32_t handle) |
Delete ReactorNet object. | |
int32_t | reactornet_cabinetSize () |
Return size of ReactorNet storage. | |
int32_t | reactornet_parentHandle (int32_t handle) |
Return handle to parent of ReactorNet object. | |