6#ifndef CT_REACTOR_SURFACE_H
7#define CT_REACTOR_SURFACE_H
53 return m_params.size();
101 std::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.
double area() const
Returns the surface area [m^2].
void setReactor(ReactorBase *reactor)
Set the reactor that this Surface interacts with.
void syncCoverages()
Set the coverages in the surface phase object to the values for this surface.
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.
void setCoverages(const double *cov)
Set the surface coverages.
void setKinetics(Kinetics *kin)
Set the InterfaceKinetics object for this surface.
SurfPhase * thermo()
Accessor for the SurfPhase object.
void addSensitivityReaction(size_t i)
Enable calculation of sensitivities with respect to the rate constant for reaction i.
Kinetics * kinetics()
Accessor for the InterfaceKinetics object.
A simple thermodynamic model for a surface phase, assuming an ideal solution model.
Namespace for the Cantera kernel.
std::map< std::string, double > Composition
Map from string names to doubles.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.