added support for surface chemistry on each side of the wall
This commit is contained in:
parent
5ba7db8c1b
commit
af85f4b42a
1 changed files with 16 additions and 0 deletions
|
|
@ -22,7 +22,9 @@
|
||||||
namespace Cantera {
|
namespace Cantera {
|
||||||
|
|
||||||
class ReactorBase; // forward reference
|
class ReactorBase; // forward reference
|
||||||
|
class Kinetics;
|
||||||
class Func1;
|
class Func1;
|
||||||
|
class SurfPhase;
|
||||||
|
|
||||||
const int Rigid_Type = 1;
|
const int Rigid_Type = 1;
|
||||||
const int Flexible_Type = 2;
|
const int Flexible_Type = 2;
|
||||||
|
|
@ -81,12 +83,26 @@ namespace Cantera {
|
||||||
copy(coeffs, coeffs + n, m_coeffs.begin());
|
copy(coeffs, coeffs + n, m_coeffs.begin());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void setKinetics(Kinetics* left = 0,
|
||||||
|
Kinetics* right = 0);
|
||||||
|
|
||||||
|
SurfPhase* surface(int leftright) {
|
||||||
|
return m_surf[leftright];
|
||||||
|
}
|
||||||
|
|
||||||
|
Kinetics* kinetics(int leftright) {
|
||||||
|
return m_chem[leftright];
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
vector_fp m_coeffs;
|
vector_fp m_coeffs;
|
||||||
|
|
||||||
ReactorBase* m_left;
|
ReactorBase* m_left;
|
||||||
ReactorBase* m_right;
|
ReactorBase* m_right;
|
||||||
|
Kinetics * m_chem[2];
|
||||||
|
SurfPhase* m_surf[2];
|
||||||
|
int m_nsp[2];
|
||||||
doublereal m_area, m_k, m_rrth;
|
doublereal m_area, m_k, m_rrth;
|
||||||
Func1 *m_vf;
|
Func1 *m_vf;
|
||||||
Func1 *m_qf;
|
Func1 *m_qf;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue