CT - Generated CLib Cantera interface library. More...
#include "clib_utils.h"
#include "cantera_clib/ct.h"
#include "cantera/base/stringUtils.h"
#include "cantera/base/global.h"
#include "cantera/base/ExternalLogger.h"
#include "cantera/zeroD/ConnectorFactory.h"
#include "cantera/zeroD/flowControllers.h"
#include "cantera/zeroD/Wall.h"
#include "cantera/oneD/DomainFactory.h"
#include "cantera/numerics/Func1Factory.h"
#include "cantera/kinetics/KineticsFactory.h"
#include "cantera/kinetics/InterfaceKinetics.h"
#include "cantera/equil/MultiPhase.h"
#include "cantera/thermo/ThermoPhase.h"
#include "cantera/oneD/Sim1D.h"
#include "cantera/kinetics/ReactionPath.h"
#include "cantera/zeroD/ReactorFactory.h"
#include "cantera/zeroD/FlowReactor.h"
#include "cantera/zeroD/ReactorNet.h"
#include "cantera/kinetics/Reaction.h"
#include "cantera/base/Solution.h"
#include "cantera/thermo/ThermoFactory.h"
#include "cantera/thermo/SurfPhase.h"
#include "cantera/transport/TransportFactory.h"
CT - Generated CLib Cantera interface library.
The main library of the generated CLib API contains Cantera service functions.
This file was generated by sourcegen. It will be re-generated by the Cantera build process. Do not manually edit.
Definition in file ct.cpp.
Go to the source code of this file.
Functions | |
int32_t | ct_version (int32_t bufLen, char *buf) |
Returns the Cantera version. | |
int32_t | ct_gitCommit (int32_t bufLen, char *buf) |
Returns the hash of the git commit from which Cantera was compiled, if known. | |
int32_t | ct_addDataDirectory (const char *dir) |
Add a directory to the data file search path. | |
int32_t | ct_getDataDirectories (const char *sep, int32_t bufLen, char *buf) |
Get the Cantera data directories. | |
int32_t | ct_findInputFile (const char *name, int32_t bufLen, char *buf) |
Find an input file. | |
int32_t | ct_suppress_deprecation_warnings () |
Globally disable printing of deprecation warnings. | |
int32_t | ct_make_deprecation_warnings_fatal () |
Turns deprecation warnings into exceptions. | |
int32_t | ct_suppress_warnings () |
Globally disable printing of (user) warnings. | |
int32_t | ct_warnings_suppressed () |
Returns. | |
int32_t | ct_make_warnings_fatal () |
Turns Cantera warnings into exceptions. | |
int32_t | ct_suppress_thermo_warnings (int32_t suppress) |
Globally disable printing of warnings about problematic thermo data, such as NASA polynomials with discontinuities at the midpoint temperature. | |
int32_t | ct_use_legacy_rate_constants (int32_t legacy) |
Set definition used for rate constant calculation. | |
int32_t | ct_appdelete () |
Delete and free all memory associated with the application. | |
const double | ct_Avogadro () |
Avogadro's Number. | |
const double | ct_Boltzmann () |
Boltzmann constant. | |
const double | ct_Planck () |
Planck constant. | |
const double | ct_ElectronCharge () |
Elementary charge. | |
const double | ct_lightSpeed () |
Speed of Light in a vacuum. | |
const double | ct_OneAtm () |
One atmosphere [Pa]. | |
const double | ct_OneBar () |
One bar [Pa]. | |
const double | ct_fineStructureConstant () |
Fine structure constant. | |
const double | ct_ElectronMass () |
Electron Mass. | |
const double | ct_GasConstant () |
Universal Gas Constant. | |
const double | ct_StefanBoltz () |
Stefan-Boltzmann constant. | |
const double | ct_Faraday () |
Faraday constant. | |
const double | ct_permeability_0 () |
Permeability of free space. | |
const double | ct_epsilon_0 () |
Permittivity of free space. | |
int32_t | ct_getCanteraError (int32_t bufLen, char *buf) |
Get Cantera error. | |
int32_t | ct_setLogCallback (LogCallback writer) |
Set Logger callback. | |
int32_t | ct_writeLog (const char *msg) |
Write a message to the logger. | |
int32_t | ct_clearStorage () |
Delete all objects with mapping preserved. | |
int32_t | ct_resetStorage () |
Delete all objects and erase mapping. | |