CTFUNC - Generated CLib Cantera interface library. More...
CTFUNC - Generated CLib Cantera interface library.
Generated CLib API for Cantera's Func1 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 interfaces/clib/include/cantera_clib/ctfunc.h.
Go to the source code of this file.
Functions | |
int32_t | func1_checkFunc1 (const char *func1Type, int32_t bufLen, char *buf) |
Check definition of functor object. | |
int32_t | func1_newBasic (const char *func1Type, double coeff) |
Create a new basic functor object (see Basic Functors). | |
int32_t | func1_newAdvanced (const char *func1Type, int32_t arrLen, const double *arr) |
Create a new advanced functor object (see Advanced Functors). | |
int32_t | func1_newCompound (const char *func1Type, const int32_t f1, const int32_t f2) |
Create a new compound functor object (see Compound Functors). | |
int32_t | func1_newModified (const char *func1Type, const int32_t f, double coeff) |
Create a new modified functor object (see Modified Functors). | |
int32_t | func1_newSumFunction (int32_t f1, int32_t f2) |
Sum of two functions. | |
int32_t | func1_newDiffFunction (int32_t f1, int32_t f2) |
Difference of two functions. | |
int32_t | func1_newProdFunction (int32_t f1, int32_t f2) |
Product of two functions. | |
int32_t | func1_newRatioFunction (int32_t f1, int32_t f2) |
Ratio of two functions. | |
int32_t | func1_type (int32_t handle, int32_t bufLen, char *buf) |
Returns a string describing the type of the function. | |
double | func1_eval (int32_t handle, double t) |
Evaluate the function. | |
int32_t | func1_derivative (int32_t handle) |
Creates a derivative to the current function. | |
int32_t | func1_write (int32_t handle, const char *arg, int32_t bufLen, char *buf) |
Write LaTeX string describing function. | |
int32_t | func1_del (int32_t handle) |
Delete Func1 object. | |
int32_t | func1_cabinetSize () |
Return size of Func1 storage. | |