Cantera
2.0
|
Nodes in reaction path graphs. More...
#include <ReactionPath.h>
Public Member Functions | |
SpeciesNode () | |
Default constructor. | |
virtual | ~SpeciesNode () |
Destructor. | |
int | nPaths () const |
Total number of paths to or from this node. | |
void | addPath (Path *path) |
add a path to or from this node | |
doublereal | outflow () |
doublereal | inflow () |
doublereal | netOutflow () |
void | printPaths () |
References. | |
Return a reference to a path object connecting this node to another node. | |
Path * | path (int n) |
const Path * | path (int n) const |
Public Attributes | |
size_t | number |
Species number. | |
std::string | name |
Label on graph. | |
doublereal | value |
May be used to set node appearance. | |
bool | visible |
Visible on graph;. | |
Protected Attributes | |
doublereal | m_in |
doublereal | m_out |
std::vector< Path * > | m_paths |
Nodes in reaction path graphs.
Definition at line 31 of file ReactionPath.h.
|
inline |
Default constructor.
Definition at line 35 of file ReactionPath.h.
|
inlinevirtual |
Destructor.
Definition at line 39 of file ReactionPath.h.
|
inline |
Total number of paths to or from this node.
Definition at line 66 of file ReactionPath.h.
void addPath | ( | Path * | path | ) |
add a path to or from this node
Definition at line 18 of file ReactionPath.cpp.
size_t number |
Species number.
Definition at line 42 of file ReactionPath.h.
std::string name |
Label on graph.
Definition at line 43 of file ReactionPath.h.
doublereal value |
May be used to set node appearance.
Definition at line 44 of file ReactionPath.h.
bool visible |
Visible on graph;.
Definition at line 45 of file ReactionPath.h.
Referenced by ReactionPathDiagram::exportToDot().