6 #ifndef CT_REACTOR_SURFACE_H
7 #define CT_REACTOR_SURFACE_H
53 return m_params.size();
96 vector<SensitivityParameter> m_params;
Public interface for kinetics managers.
Base class for stirred reactors.
A surface where reactions can occur that is in contact with the bulk fluid of a Reactor.
SurfPhase * thermo()
Accessor for the SurfPhase object.
double area() const
Returns the surface area [m^2].
void setReactor(ReactorBase *reactor)
Set the reactor that this Surface interacts with.
void setSensitivityParameters(const double *params)
Set reaction rate multipliers.
size_t nSensParams() const
Number of sensitivity parameters associated with reactions on this surface.
void getCoverages(double *cov) const
Get the surface coverages.
void setArea(double a)
Set the surface area [m^2].
void resetSensitivityParameters()
Set reaction rate multipliers back to their initial values.
void syncState()
Set the coverages and temperature in the surface phase object to the values for this surface.
Kinetics * kinetics()
Accessor for the InterfaceKinetics object.
void setCoverages(const double *cov)
Set the surface coverages.
void setKinetics(Kinetics *kin)
Set the InterfaceKinetics object for this surface.
void addSensitivityReaction(size_t i)
Enable calculation of sensitivities with respect to the rate constant for reaction i.
A simple thermodynamic model for a surface phase, assuming an ideal solution model.
Namespace for the Cantera kernel.
map< string, double > Composition
Map from string names to doubles.