8#ifndef CT_REACTIONDATA_H
9#define CT_REACTIONDATA_H
50 virtual void update(
double T,
double extra) {
52 "ReactionData type does not use extra scalar argument.");
64 virtual void update(
double T,
const vector<double>& extra) {
66 "ReactionData type does not use extra vector argument.");
85 "Cannot apply another perturbation as state is already perturbed.");
102 virtual void resize(
size_t nSpecies,
size_t nReactions,
size_t nPhases) {}
Base class for exceptions thrown by Cantera classes.
Public interface for kinetics managers.
An error indicating that an unimplemented function has been called.
Base class for a phase with thermodynamic properties.
This file contains definitions of constants, types and terms that are used in internal routines and a...
Definitions for the classes that are thrown when Cantera experiences an error condition (also contain...
Namespace for the Cantera kernel.
Data container holding shared data used for ReactionRate calculation.
double recipT
inverse of temperature
double m_temperature_buf
buffered temperature
virtual void update(double T, double extra)
Update data container based on temperature T and an extra parameter.
virtual bool update(const ThermoPhase &phase, const Kinetics &kin)=0
Update data container based on thermodynamic phase state.
void perturbTemperature(double deltaT)
Perturb temperature of data container.
virtual void update(double T)
Update data container based on temperature T
double temperature
temperature
double logT
logarithm of temperature
virtual void restore()
Restore data container after a perturbation.
virtual void resize(size_t nSpecies, size_t nReactions, size_t nPhases)
Update number of species, reactions and phases.
virtual void invalidateCache()
Force shared data and reaction rates to be updated next time.
virtual void update(double T, const vector< double > &extra)
Update data container based on temperature T and a vector parameter extra