41 virtual ~ConnectorNode() =
default;
42 ConnectorNode(
const ConnectorNode&) =
delete;
43 ConnectorNode& operator=(
const ConnectorNode&) =
delete;
47 virtual string type()
const {
48 return "ConnectorNode";
66 pair<shared_ptr<ReactorBase>, shared_ptr<ReactorBase>>
m_nodes;
Base class for walls and flow devices connecting reactors.
ConnectorNode(shared_ptr< ReactorBase > r0, shared_ptr< ReactorBase > r1, const string &name="(none)")
Instantiate a ConnectorNode object with associated ReactorBase objects.
bool m_defaultNameSet
true if default name has been previously set.
void setDefaultName(map< string, int > &counts)
Set the default name of a connector. Returns false if it was previously set.
virtual string type() const
String indicating the connector implemented.
void setName(const string &name)
Set connector name.
pair< shared_ptr< ReactorBase >, shared_ptr< ReactorBase > > m_nodes
Pair of reactors forming end points of the connector.
string m_name
ConnectorNode name.
string name() const
Retrieve connector name.
ConnectorNode(const string &name="(none)")
Transitional constructor.
This file contains definitions of constants, types and terms that are used in internal routines and a...
This file contains definitions for utility functions and text for modules, inputfiles and logging,...
Namespace for the Cantera kernel.