7 using namespace Cantera;
19 m_in->addOutlet(*
this);
20 m_out->addInlet(*
this);
25 if (mixin == 0 || mixout == 0) {
33 for (ki = 0; ki < m_nspin; ki++) {
36 m_in2out.push_back(ko);
38 for (ko = 0; ko < m_nspout; ko++) {
41 m_out2in.push_back(ki);
46 void FlowDevice::setFunction(
Func1* f)
56 doublereal FlowDevice::outletSpeciesMassFlowRate(
size_t k)
61 size_t ki = m_out2in[k];
65 return m_mdot * m_in->massFraction(ki);
68 doublereal FlowDevice::enthalpy_mass()
70 return m_in->enthalpy_mass();