38 virtual doublereal vdot(doublereal t);
42 virtual doublereal Q(doublereal t);
50 void setArea(doublereal a) {
54 void setThermalResistance(doublereal Rth) {
59 void setHeatTransferCoeff(doublereal U) {
64 void setEmissivity(doublereal epsilon) {
65 if (epsilon > 1.0 || epsilon < 0.0)
67 "emissivity must be between 0.0 and 1.0");
81 void setExpansionRateCoeff(doublereal k) {
92 bool install(ReactorBase& leftReactor, ReactorBase& rightReactor);
95 virtual bool ready() {
96 return (m_left != 0 && m_right != 0);
104 ReactorBase& left()
const {
110 const ReactorBase& right() {
128 return m_surf[leftright];
132 return m_chem[leftright];
137 void setCoverages(
int leftright,
const doublereal* cov);
141 void getCoverages(
int leftright, doublereal* cov);
145 void syncCoverages(
int leftright);
148 size_t nSensParams(
int lr)
const {
150 return m_pleft.size();
152 return m_pright.size();
155 void addSensitivityReaction(
int leftright,
size_t rxn);
156 std::string sensitivityParamID(
int leftright,
size_t p) {
157 if (leftright == 0) {
158 return m_pname_left[p];
160 return m_pname_right[p];
163 void setSensitivityParameters(
int lr,
double* params);
164 void resetSensitivityParameters(
int lr);
173 ReactorBase* m_right;
177 doublereal m_area, m_k, m_rrth;
183 std::vector<size_t> m_pleft, m_pright;
185 std::vector<std::string> m_pname_left, m_pname_right;