8#ifndef CT_VIBRATIONALRELAXATIONRATE_H
9#define CT_VIBRATIONALRELAXATIONRATE_H
25 void update(
double T)
override;
83 return m_A * std::exp(
113 void check(
const string& equation)
override;
116 const string& equation,
const Kinetics& kin)
override;
134 double A,
double b,
double C0,
double C13,
135 double Cm,
double m,
double Cn,
double n);
137 static void requireKeys(
139 const string& rateType,
141 std::initializer_list<string> keys);
143 static void forbidKeys(
145 const string& rateType,
147 std::initializer_list<string> keys);
156 void getPreExponentialFactor(
AnyMap& rateNode)
const;
Header file for class ThermoPhase, the base class for phases with thermodynamic properties,...
Header for unit conversion utilities, which are used to translate user input from input files (See In...
A map of string keys to values whose type can vary at runtime.
Public interface for kinetics managers.
Abstract base class which stores data about a reaction and its rate parameterization so that it can b...
Base class for a phase with thermodynamic properties.
void setContext(const Reaction &rxn, const Kinetics &kin) override
Set context of reaction rate evaluation.
virtual void getRateParameters(AnyMap &rateNode) const =0
Store the model-specific coefficients in the rate-constant node.
double m_n
Temperature exponent used by the Cn term.
void setParameters(const AnyMap &node, const UnitStack &rate_units) override
Set parameters.
double m_Cn
Coefficient multiplying .
double m_Cm
Coefficient multiplying .
void validate(const string &equation, const Kinetics &kin) override
Validate the reaction rate expression.
void getParameters(AnyMap &node) const override
Write the fields shared by all vibrational relaxation rates, then delegate the model-specific rate-co...
double m_A
Pre-exponential constant for the reaction rate.
VibrationalRelaxationRate()
Default constructor.
double ddTScaledFromStruct(const VibrationalRelaxationData &shared_data) const
Evaluate the scaled temperature derivative.
bool m_negativeA_ok
Whether a negative leading coefficient is explicitly allowed.
double m_C13
Coefficient multiplying .
double m_b
Temperature exponent for the reaction rate.
void check(const string &equation) override
Check basic syntax and settings of reaction rate expression.
double m_m
Temperature exponent used by the Cm term.
double m_C0
Dimensionless constant in the exponential.
This file contains definitions for utility functions and text for modules, inputfiles and logging,...
Namespace for the Cantera kernel.
double recipT
inverse of temperature
virtual void update(double T)
Update data container based on temperature T.
double logT
logarithm of temperature
Unit aggregation utility.
Shared temperature data for vibrational relaxation rates.
void update(double T) override
Update cached temperature-dependent data directly from temperature.