15 ReactorBase::ReactorBase(
string name) : m_nsp(0),
52 m_inlet.push_back(&inlet);
57 void ReactorBase::addOutlet(FlowDevice& outlet)
59 m_outlet.push_back(&outlet);
64 void ReactorBase::addWall(Wall& w,
int lr)
75 Wall& ReactorBase::wall(
size_t n)
80 doublereal ReactorBase::residenceTime()
82 int nout =
static_cast<int>(m_outlet.size());
83 doublereal mout = 0.0;
84 for (
int i = 0; i < nout; i++) {
85 mout += m_outlet[i]->massFlowRate();
90 FlowDevice& ReactorBase::inlet(
size_t n)
94 FlowDevice& ReactorBase::outlet(
size_t n)