Generated CLib API for Cantera's ReactionPathDiagram class. More...
Generated CLib API for Cantera's ReactionPathDiagram class.
Functions | |
int32_t | rdiag_newReactionPathDiagram (int32_t kin, const char *element) |
Create a new reaction path diagram. | |
int32_t | rdiag_showDetails (int handle) |
Boolean flag to show details. | |
int32_t | rdiag_setShowDetails (int32_t handle, int32_t show_details) |
Boolean flag to show details. | |
double | rdiag_threshold (int handle) |
Threshold for the minimum flux relative value that will be plotted. | |
int32_t | rdiag_setThreshold (int32_t handle, double threshold) |
Threshold for the minimum flux relative value that will be plotted. | |
double | rdiag_boldThreshold (int handle) |
Minimum relative flux for bold lines. | |
int32_t | rdiag_setBoldThreshold (int32_t handle, double bold_min) |
Minimum relative flux for bold lines. | |
double | rdiag_normalThreshold (int handle) |
Maximum relative flux for dashed lines. | |
int32_t | rdiag_setNormalThreshold (int32_t handle, double dashed_max) |
Maximum relative flux for dashed lines. | |
double | rdiag_labelThreshold (int handle) |
Minimum relative flux for labels. | |
int32_t | rdiag_setLabelThreshold (int32_t handle, double label_min) |
Minimum relative flux for labels. | |
int32_t | rdiag_boldColor (int handle, int32_t bufLen, char *buf) |
Color for bold lines. | |
int32_t | rdiag_setBoldColor (int32_t handle, const char *bold_color) |
Color for bold lines. | |
int32_t | rdiag_normalColor (int handle, int32_t bufLen, char *buf) |
Color for normal-weight lines. | |
int32_t | rdiag_setNormalColor (int32_t handle, const char *normal_color) |
Color for normal-weight lines. | |
int32_t | rdiag_dashedColor (int handle, int32_t bufLen, char *buf) |
Color for dashed lines. | |
int32_t | rdiag_setDashedColor (int32_t handle, const char *dashed_color) |
Color for dashed lines. | |
int32_t | rdiag_dotOptions (int handle, int32_t bufLen, char *buf) |
Options for the 'dot' program. | |
int32_t | rdiag_setDotOptions (int32_t handle, const char *dot_options) |
Options for the 'dot' program. | |
int32_t | rdiag_font (int handle, int32_t bufLen, char *buf) |
Reaction path diagram font. | |
int32_t | rdiag_setFont (int32_t handle, const char *font) |
Set name of the font used. | |
double | rdiag_scale (int handle) |
The scaling factor for the fluxes. | |
int32_t | rdiag_setScale (int32_t handle, double scale) |
The scaling factor for the fluxes. | |
int32_t | rdiag_flowType (int32_t handle, int32_t bufLen, char *buf) |
Get the way flows are drawn. | |
int32_t | rdiag_setFlowType (int32_t handle, const char *fType) |
Get the way flows are drawn. | |
double | rdiag_arrowWidth (int handle) |
The arrow width. | |
int32_t | rdiag_setArrowWidth (int32_t handle, double arrow_width) |
The arrow width. | |
int32_t | rdiag_title (int handle, int32_t bufLen, char *buf) |
Reaction path diagram title. | |
int32_t | rdiag_setTitle (int32_t handle, const char *title) |
Reaction path diagram title. | |
int32_t | rdiag_add (int32_t handle, int32_t d) |
Add fluxes from other ReactionPathDiagram to this diagram. | |
int32_t | rdiag_displayOnly (int32_t handle, int32_t k) |
Include only species and fluxes that are directly connected to a species. | |
int32_t | rdiag_getDot (int32_t handle, int32_t bufLen, char *buf) |
Export string in. | |
int32_t | rdiag_getData (int32_t handle, int32_t bufLen, char *buf) |
Get a (roughly) human-readable representation of the reaction path diagram. | |
int32_t | rdiag_build (int32_t handle) |
Build the reaction path diagram. | |
int32_t | rdiag_getLog (int32_t handle, int32_t bufLen, char *buf) |
Get logging messages generated while building the reaction path diagram. | |
int32_t | rdiag_findMajor (int32_t handle, double threshold, int32_t lda, int32_t aLen, double *a) |
Undocumented. | |
int32_t | rdiag_del (int32_t handle) |
Delete ReactionPathDiagram object. | |
int32_t | rdiag_cabinetSize () |
Return size of ReactionPathDiagram storage. | |
int32_t | rdiag_parentHandle (int32_t handle) |
Return handle to parent of ReactionPathDiagram object. | |
int32_t rdiag_newReactionPathDiagram | ( | int32_t | kin, |
const char * | element | ||
) |
Create a new reaction path diagram.
Wraps C++ constructor: shared_ptr<ReactionPathDiagram> newReactionPathDiagram(shared_ptr<Kinetics>, const string&)
kin | Integer handle to Kinetics object. Shared pointer to Kinetics object. |
element | Element used for the calculation of net reaction rates. |
Definition at line 42 of file ctrdiag.cpp.
int32_t rdiag_showDetails | ( | int | handle | ) |
Boolean flag to show details.
Wraps C++ variable-getter: bool ReactionPathDiagram::show_details
handle | Handle to queried ReactionPathDiagram object. |
Definition at line 52 of file ctrdiag.cpp.
int32_t rdiag_setShowDetails | ( | int32_t | handle, |
int32_t | show_details | ||
) |
Boolean flag to show details.
Wraps C++ variable-setter: bool ReactionPathDiagram::show_details
handle | Handle to queried ReactionPathDiagram object. | |
[in] | show_details | Boolean flag to show details. |
Definition at line 63 of file ctrdiag.cpp.
double rdiag_threshold | ( | int | handle | ) |
Threshold for the minimum flux relative value that will be plotted.
Wraps C++ variable-getter: double ReactionPathDiagram::threshold
handle | Handle to queried ReactionPathDiagram object. |
Definition at line 75 of file ctrdiag.cpp.
int32_t rdiag_setThreshold | ( | int32_t | handle, |
double | threshold | ||
) |
Threshold for the minimum flux relative value that will be plotted.
Wraps C++ variable-setter: double ReactionPathDiagram::threshold
handle | Handle to queried ReactionPathDiagram object. | |
[in] | threshold | Threshold for the minimum flux relative value that will be plotted. |
Definition at line 85 of file ctrdiag.cpp.
double rdiag_boldThreshold | ( | int | handle | ) |
Minimum relative flux for bold lines.
Wraps C++ variable-getter: double ReactionPathDiagram::bold_min
handle | Handle to queried ReactionPathDiagram object. |
Definition at line 96 of file ctrdiag.cpp.
int32_t rdiag_setBoldThreshold | ( | int32_t | handle, |
double | bold_min | ||
) |
Minimum relative flux for bold lines.
Wraps C++ variable-setter: double ReactionPathDiagram::bold_min
handle | Handle to queried ReactionPathDiagram object. | |
[in] | bold_min | Minimum relative flux for bold lines. |
Definition at line 106 of file ctrdiag.cpp.
double rdiag_normalThreshold | ( | int | handle | ) |
Maximum relative flux for dashed lines.
Wraps C++ variable-getter: double ReactionPathDiagram::dashed_max
handle | Handle to queried ReactionPathDiagram object. |
Definition at line 117 of file ctrdiag.cpp.
int32_t rdiag_setNormalThreshold | ( | int32_t | handle, |
double | dashed_max | ||
) |
Maximum relative flux for dashed lines.
Wraps C++ variable-setter: double ReactionPathDiagram::dashed_max
handle | Handle to queried ReactionPathDiagram object. | |
[in] | dashed_max | Maximum relative flux for dashed lines. |
Definition at line 127 of file ctrdiag.cpp.
double rdiag_labelThreshold | ( | int | handle | ) |
Minimum relative flux for labels.
Wraps C++ variable-getter: double ReactionPathDiagram::label_min
handle | Handle to queried ReactionPathDiagram object. |
Definition at line 138 of file ctrdiag.cpp.
int32_t rdiag_setLabelThreshold | ( | int32_t | handle, |
double | label_min | ||
) |
Minimum relative flux for labels.
Wraps C++ variable-setter: double ReactionPathDiagram::label_min
handle | Handle to queried ReactionPathDiagram object. | |
[in] | label_min | Minimum relative flux for labels. |
Definition at line 148 of file ctrdiag.cpp.
int32_t rdiag_boldColor | ( | int | handle, |
int32_t | bufLen, | ||
char * | buf | ||
) |
Color for bold lines.
Wraps C++ variable-getter: string ReactionPathDiagram::bold_color
handle | Handle to queried ReactionPathDiagram object. | |
[in] | bufLen | Length of reserved array. |
[out] | buf | Returned string value. |
Definition at line 159 of file ctrdiag.cpp.
int32_t rdiag_setBoldColor | ( | int32_t | handle, |
const char * | bold_color | ||
) |
Color for bold lines.
Wraps C++ variable-setter: string ReactionPathDiagram::bold_color
handle | Handle to queried ReactionPathDiagram object. | |
[in] | bold_color | Color for bold lines. |
Definition at line 171 of file ctrdiag.cpp.
int32_t rdiag_normalColor | ( | int | handle, |
int32_t | bufLen, | ||
char * | buf | ||
) |
Color for normal-weight lines.
Wraps C++ variable-getter: string ReactionPathDiagram::normal_color
handle | Handle to queried ReactionPathDiagram object. | |
[in] | bufLen | Length of reserved array. |
[out] | buf | Returned string value. |
Definition at line 182 of file ctrdiag.cpp.
int32_t rdiag_setNormalColor | ( | int32_t | handle, |
const char * | normal_color | ||
) |
Color for normal-weight lines.
Wraps C++ variable-setter: string ReactionPathDiagram::normal_color
handle | Handle to queried ReactionPathDiagram object. | |
[in] | normal_color | Color for normal-weight lines. |
Definition at line 194 of file ctrdiag.cpp.
int32_t rdiag_dashedColor | ( | int | handle, |
int32_t | bufLen, | ||
char * | buf | ||
) |
Color for dashed lines.
Wraps C++ variable-getter: string ReactionPathDiagram::dashed_color
handle | Handle to queried ReactionPathDiagram object. | |
[in] | bufLen | Length of reserved array. |
[out] | buf | Returned string value. |
Definition at line 205 of file ctrdiag.cpp.
int32_t rdiag_setDashedColor | ( | int32_t | handle, |
const char * | dashed_color | ||
) |
Color for dashed lines.
Wraps C++ variable-setter: string ReactionPathDiagram::dashed_color
handle | Handle to queried ReactionPathDiagram object. | |
[in] | dashed_color | Color for dashed lines. |
Definition at line 217 of file ctrdiag.cpp.
int32_t rdiag_dotOptions | ( | int | handle, |
int32_t | bufLen, | ||
char * | buf | ||
) |
Options for the 'dot' program.
Wraps C++ variable-getter: string ReactionPathDiagram::dot_options
handle | Handle to queried ReactionPathDiagram object. | |
[in] | bufLen | Length of reserved array. |
[out] | buf | Returned string value. |
Definition at line 228 of file ctrdiag.cpp.
int32_t rdiag_setDotOptions | ( | int32_t | handle, |
const char * | dot_options | ||
) |
Options for the 'dot' program.
Wraps C++ variable-setter: string ReactionPathDiagram::dot_options
handle | Handle to queried ReactionPathDiagram object. | |
[in] | dot_options | Options for the 'dot' program. |
Definition at line 240 of file ctrdiag.cpp.
int32_t rdiag_font | ( | int | handle, |
int32_t | bufLen, | ||
char * | buf | ||
) |
Reaction path diagram font.
Wraps C++ variable-getter: string ReactionPathDiagram::m_font
handle | Handle to queried ReactionPathDiagram object. | |
[in] | bufLen | Length of reserved array. |
[out] | buf | Returned string value. |
Definition at line 251 of file ctrdiag.cpp.
int32_t rdiag_setFont | ( | int32_t | handle, |
const char * | font | ||
) |
Set name of the font used.
Wraps C++ setter: void ReactionPathDiagram::setFont(const string&)
handle | Handle to queried ReactionPathDiagram object. |
font | Undocumented. |
Definition at line 263 of file ctrdiag.cpp.
double rdiag_scale | ( | int | handle | ) |
The scaling factor for the fluxes.
Wraps C++ variable-getter: double ReactionPathDiagram::scale
handle | Handle to queried ReactionPathDiagram object. |
Definition at line 274 of file ctrdiag.cpp.
int32_t rdiag_setScale | ( | int32_t | handle, |
double | scale | ||
) |
The scaling factor for the fluxes.
Wraps C++ variable-setter: double ReactionPathDiagram::scale
handle | Handle to queried ReactionPathDiagram object. | |
[in] | scale | The scaling factor for the fluxes. |
Definition at line 284 of file ctrdiag.cpp.
int32_t rdiag_flowType | ( | int32_t | handle, |
int32_t | bufLen, | ||
char * | buf | ||
) |
Get the way flows are drawn.
Either 'NetFlow' or 'OneWayFlow'.
Wraps C++ getter: const string ReactionPathDiagram::flowType()
handle | Handle to queried ReactionPathDiagram object. | |
[in] | bufLen | Length of reserved array. |
[out] | buf | Returned string value. |
Definition at line 295 of file ctrdiag.cpp.
int32_t rdiag_setFlowType | ( | int32_t | handle, |
const char * | fType | ||
) |
Get the way flows are drawn.
Either 'NetFlow' or 'OneWayFlow'.
Wraps C++ setter: void ReactionPathDiagram::setFlowType(const string&)
handle | Handle to queried ReactionPathDiagram object. |
fType | Undocumented. |
Definition at line 307 of file ctrdiag.cpp.
double rdiag_arrowWidth | ( | int | handle | ) |
The arrow width.
If < 0, then scale with flux value.
Wraps C++ variable-getter: double ReactionPathDiagram::arrow_width
handle | Handle to queried ReactionPathDiagram object. |
Definition at line 318 of file ctrdiag.cpp.
int32_t rdiag_setArrowWidth | ( | int32_t | handle, |
double | arrow_width | ||
) |
The arrow width.
If < 0, then scale with flux value.
Wraps C++ variable-setter: double ReactionPathDiagram::arrow_width
handle | Handle to queried ReactionPathDiagram object. | |
[in] | arrow_width | The arrow width. If < 0, then scale with flux value. |
Definition at line 328 of file ctrdiag.cpp.
int32_t rdiag_title | ( | int | handle, |
int32_t | bufLen, | ||
char * | buf | ||
) |
Reaction path diagram title.
Wraps C++ variable-getter: string ReactionPathDiagram::title
handle | Handle to queried ReactionPathDiagram object. | |
[in] | bufLen | Length of reserved array. |
[out] | buf | Returned string value. |
Definition at line 339 of file ctrdiag.cpp.
int32_t rdiag_setTitle | ( | int32_t | handle, |
const char * | title | ||
) |
Reaction path diagram title.
Wraps C++ variable-setter: string ReactionPathDiagram::title
handle | Handle to queried ReactionPathDiagram object. | |
[in] | title | Reaction path diagram title. |
Definition at line 351 of file ctrdiag.cpp.
int32_t rdiag_add | ( | int32_t | handle, |
int32_t | d | ||
) |
Add fluxes from other ReactionPathDiagram to this diagram.
Wraps C++ setter: void ReactionPathDiagram::add(shared_ptr<ReactionPathDiagram>)
handle | Handle to queried ReactionPathDiagram object. |
d | Integer handle to ReactionPathDiagram object. Undocumented. |
Definition at line 362 of file ctrdiag.cpp.
int32_t rdiag_displayOnly | ( | int32_t | handle, |
int32_t | k | ||
) |
Include only species and fluxes that are directly connected to a species.
Wraps C++ setter: void ReactionPathDiagram::displayOnly(size_t)
handle | Handle to queried ReactionPathDiagram object. |
k | Undocumented. |
Definition at line 373 of file ctrdiag.cpp.
int32_t rdiag_getDot | ( | int32_t | handle, |
int32_t | bufLen, | ||
char * | buf | ||
) |
Export string in.
Wraps C++ getter: string ReactionPathDiagram::getDot()
handle | Handle to queried ReactionPathDiagram object. | |
[in] | bufLen | Length of reserved array. |
[out] | buf | Returned string value. |
Definition at line 384 of file ctrdiag.cpp.
int32_t rdiag_getData | ( | int32_t | handle, |
int32_t | bufLen, | ||
char * | buf | ||
) |
Get a (roughly) human-readable representation of the reaction path diagram.
Wraps C++ getter: string ReactionPathDiagram::getData()
handle | Handle to queried ReactionPathDiagram object. | |
[in] | bufLen | Length of reserved array. |
[out] | buf | Returned string value. |
Definition at line 396 of file ctrdiag.cpp.
int32_t rdiag_build | ( | int32_t | handle | ) |
Build the reaction path diagram.
Wraps C++ method: void ReactionPathDiagram::build()
handle | Handle to queried ReactionPathDiagram object. |
Definition at line 408 of file ctrdiag.cpp.
int32_t rdiag_getLog | ( | int32_t | handle, |
int32_t | bufLen, | ||
char * | buf | ||
) |
Get logging messages generated while building the reaction path diagram.
Wraps C++ getter: string ReactionPathDiagram::getLog()
handle | Handle to queried ReactionPathDiagram object. | |
[in] | bufLen | Length of reserved array. |
[out] | buf | Returned string value. |
Definition at line 419 of file ctrdiag.cpp.
int32_t rdiag_findMajor | ( | int32_t | handle, |
double | threshold, | ||
int32_t | lda, | ||
int32_t | aLen, | ||
double * | a | ||
) |
Undocumented.
Wraps C++ method: void ReactionPathDiagram::findMajorPaths(double, size_t, double*)
handle | Handle to queried ReactionPathDiagram object. | |
threshold | Undocumented. | |
lda | Undocumented. | |
[in] | aLen | Length of array reserved for a. |
a | Undocumented. |
Definition at line 431 of file ctrdiag.cpp.
int32_t rdiag_del | ( | int32_t | handle | ) |
Delete ReactionPathDiagram object.
Wraps C++ destructor: undefined
handle | Handle to ReactionPathDiagram object. |
Definition at line 442 of file ctrdiag.cpp.
int32_t rdiag_cabinetSize | ( | ) |
Return size of ReactionPathDiagram storage.
Wraps C++ reserved CLib function: custom code
Definition at line 453 of file ctrdiag.cpp.
int32_t rdiag_parentHandle | ( | int32_t | handle | ) |
Return handle to parent of ReactionPathDiagram object.
Wraps C++ reserved CLib function: custom code
handle | Handle to queried ReactionPathDiagram object. |
Definition at line 465 of file ctrdiag.cpp.