Cantera
3.0.0
|
Nodes in reaction path graphs. More...
#include <ReactionPath.h>
Nodes in reaction path graphs.
Definition at line 26 of file ReactionPath.h.
Public Member Functions | |
SpeciesNode ()=default | |
Default constructor. | |
virtual | ~SpeciesNode ()=default |
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 | |
double | outflow () |
double | inflow () |
double | 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 = npos |
Species number. | |
string | name |
Label on graph. | |
double | value = 0.0 |
May be used to set node appearance. | |
bool | visible = false |
Visible on graph;. | |
Protected Attributes | |
double | m_in = 0.0 |
double | m_out = 0.0 |
vector< Path * > | m_paths |
|
default |
Default constructor.
|
virtualdefault |
Destructor.
|
inline |
Definition at line 46 of file ReactionPath.h.
|
inline |
Definition at line 49 of file ReactionPath.h.
|
inline |
Total number of paths to or from this node.
Definition at line 55 of file ReactionPath.h.
void addPath | ( | Path * | path | ) |
add a path to or from this node
Definition at line 22 of file ReactionPath.cpp.
|
inline |
Definition at line 62 of file ReactionPath.h.
|
inline |
Definition at line 65 of file ReactionPath.h.
|
inline |
Definition at line 68 of file ReactionPath.h.
void printPaths | ( | ) |
Definition at line 34 of file ReactionPath.cpp.
size_t number = npos |
Species number.
Definition at line 36 of file ReactionPath.h.
string name |
Label on graph.
Definition at line 37 of file ReactionPath.h.
double value = 0.0 |
May be used to set node appearance.
Definition at line 38 of file ReactionPath.h.
bool visible = false |
Visible on graph;.
Definition at line 39 of file ReactionPath.h.
|
protected |
Definition at line 75 of file ReactionPath.h.
|
protected |
Definition at line 76 of file ReactionPath.h.
|
protected |
Definition at line 77 of file ReactionPath.h.