CTSOL - Generated CLib Cantera interface library. More...
#include "clib_utils.h"#include "cantera_clib/ctsol.h"#include "cantera/base/stringUtils.h"#include "cantera/base/Solution.h"#include "cantera/kinetics/KineticsFactory.h"#include "cantera/kinetics/InterfaceKinetics.h"#include "cantera/thermo/ThermoFactory.h"#include "cantera/thermo/SurfPhase.h"#include "cantera/base/Interface.h"#include "cantera/transport/TransportFactory.h"CTSOL - Generated CLib Cantera interface library.
Generated CLib API for Cantera's Solution class.
This file was generated by sourcegen. It will be re-generated by the Cantera build process. Do not manually edit.
Definition in file ctsol.cpp.
Go to the source code of this file.
Functions | |
| int32_t | sol_newSolution (const char *infile, const char *name, const char *transport) |
| Create and initialize a new Solution manager from an input file. | |
| int32_t | sol_newInterface (const char *infile, const char *name, int32_t adjacentLen, const int32_t *adjacent) |
| Create and initialize a new Interface from an input file. | |
| int32_t | sol_name (int32_t handle, int32_t bufLen, char *buf) |
| Return the name of this Solution object. | |
| int32_t | sol_setName (int32_t handle, const char *name) |
| Set the name of this Solution object. | |
| int32_t | sol_thermo (int32_t handle) |
| Accessor for the ThermoPhase pointer. | |
| int32_t | sol_kinetics (int32_t handle) |
| Accessor for the Kinetics pointer. | |
| int32_t | sol_transport (int32_t handle) |
| Accessor for the Transport pointer. | |
| int32_t | sol_transportModel (int32_t handle, int32_t bufLen, char *buf) |
| Retrieve transport model name. | |
| int32_t | sol_setTransportModel (int32_t handle, const char *model) |
| Set the Transport object by name. | |
| int32_t | sol_nAdjacent (int32_t handle) |
| Get the number of adjacent phases. | |
| int32_t | sol_adjacent (int32_t handle, int32_t i) |
| Get the Solution object for an adjacent phase by index. | |
| int32_t | sol_adjacentName (int32_t handle, int32_t i, int32_t bufLen, char *buf) |
| Get the name of an adjacent phase by index. | |
| int32_t | sol_source (int32_t handle, int32_t bufLen, char *buf) |
| Retrieve source used for object creation; usually an input file name. | |
| int32_t | sol_del (int32_t handle) |
| Delete Solution object. | |
| int32_t | sol_cabinetSize () |
| Return size of Solution storage. | |