ReactorSurface.cpp Source File#
ReactorSurface.cpp
Go to the documentation of this file.
Base class for kinetics managers and also contains the kineticsmgr module documentation (see Kinetics...
Header file for class ReactorSurface.
Header for a simple thermodynamics model of a surface phase derived from ThermoPhase,...
Base class for exceptions thrown by Cantera classes.
Definition ctexceptions.h:66
double multiplier(size_t i) const
The current value of the multiplier for reaction i.
Definition Kinetics.h:1360
ThermoPhase & thermo(size_t n=0)
This method returns a reference to the nth ThermoPhase object defined in this kinetics mechanism.
Definition Kinetics.h:242
shared_ptr< Reaction > reaction(size_t i)
Return the Reaction object for reaction i.
Definition Kinetics.cpp:684
virtual void setMultiplier(size_t i, double f)
Set the multiplier for reaction i to f.
Definition Kinetics.h:1369
virtual void setTemperature(double temp)
Set the internally stored temperature of the phase (K).
Definition Phase.h:623
double temperature() const
Returns the current temperature (K) of the reactor's contents.
Definition ReactorBase.h:209
size_t registerSensitivityParameter(const string &name, double value, double scale)
Used by Reactor and Wall objects to register the addition of sensitivity parameters so that the React...
Definition ReactorNet.cpp:479
void setReactor(ReactorBase *reactor)
Set the reactor that this Surface interacts with.
Definition ReactorSurface.cpp:42
void setSensitivityParameters(const double *params)
Set reaction rate multipliers.
Definition ReactorSurface.cpp:87
void resetSensitivityParameters()
Set reaction rate multipliers back to their initial values.
Definition ReactorSurface.cpp:95
void syncState()
Set the coverages and temperature in the surface phase object to the values for this surface.
Definition ReactorSurface.cpp:69
void setKinetics(Kinetics *kin)
Set the InterfaceKinetics object for this surface.
Definition ReactorSurface.cpp:25
void addSensitivityReaction(size_t i)
Enable calculation of sensitivities with respect to the rate constant for reaction i.
Definition ReactorSurface.cpp:75
A simple thermodynamic model for a surface phase, assuming an ideal solution model.
Definition SurfPhase.h:98
void setCoveragesNoNorm(const double *theta)
Set the surface site fractions to a specified state.
Definition SurfPhase.cpp:231
void getCoverages(double *theta) const
Return a vector of surface coverages.
Definition SurfPhase.cpp:249
void setCoveragesByName(const string &cov)
Set the coverages from a string of colon-separated name:value pairs.
Definition SurfPhase.cpp:263
Generated by 1.9.7