ChebyshevRate.h Source File#
ChebyshevRate.h
Go to the documentation of this file.
Header file for class Cantera::Array2D.
A map of string keys to values whose type can vary at runtime.
Definition AnyMap.h:427
A class for 2D arrays stored in column-major (Fortran-compatible) form.
Definition Array.h:32
Pressure-dependent rate expression where the rate coefficient is expressed as a bivariate Chebyshev p...
Definition ChebyshevRate.h:92
const Array2D & data() const
Access Chebyshev coefficients as 2-dimensional array with temperature and pressure dimensions corresp...
Definition ChebyshevRate.h:214
unique_ptr< MultiRateBase > newMultiRate() const override
Create a rate evaluator for reactions of a particular derived type.
Definition ChebyshevRate.h:112
void setParameters(const AnyMap &node, const UnitStack &rate_units) override
Perform object setup based on AnyMap node information.
Definition ChebyshevRate.cpp:63
void updateFromStruct(const ChebyshevData &shared_data)
Update information specific to reaction.
Definition ChebyshevRate.h:133
void validate(const string &equation, const Kinetics &kin) override
Validate the reaction rate expression.
Definition ChebyshevRate.cpp:160
vector< double > dotProd_
dot product of coeffs with the reduced pressure polynomial
Definition ChebyshevRate.h:229
void setData(const Array2D &coeffs)
Set the Chebyshev coefficients as 2-dimensional array.
Definition ChebyshevRate.cpp:114
double evalFromStruct(const ChebyshevData &shared_data)
Evaluate reaction rate.
Definition ChebyshevRate.h:158
const string type() const override
String identifying reaction rate specialization.
Definition ChebyshevRate.h:116
void setLimits(double Tmin, double Tmax, double Pmin, double Pmax)
Set limits for ChebyshevRate object.
Definition ChebyshevRate.cpp:96
size_t nTemperature() const
Number of points in the temperature direction.
Definition ChebyshevRate.h:208
Abstract base class for reaction rate definitions; this base class is used by user-facing APIs to acc...
Definition ReactionRate.h:49
Base class for a phase with thermodynamic properties.
Definition ThermoPhase.h:390
This file contains definitions for utility functions and text for modules, inputfiles and logging,...
Data container holding shared data specific to ChebyshevRate.
Definition ChebyshevRate.h:24
void perturbPressure(double deltaP)
Perturb pressure of data container.
Definition ChebyshevRate.cpp:29
void update(double T) override
Update data container based on temperature T
Definition ChebyshevRate.cpp:12
void invalidateCache() override
Force shared data and reaction rates to be updated next time.
Definition ChebyshevRate.h:48
void update(double T, double P) override
Update data container based on temperature T and an extra parameter.
Definition ChebyshevRate.h:29
Data container holding shared data used for ReactionRate calculation.
Definition ReactionData.h:27
virtual void update(double T)
Update data container based on temperature T
Definition ReactionData.h:36
virtual void invalidateCache()
Force shared data and reaction rates to be updated next time.
Definition ReactionData.h:106
Generated by 1.9.7