8#ifndef CT_REACTIONDATA_H
9#define CT_REACTIONDATA_H
47 virtual void update(
double T,
double extra) {
49 "ReactionData type does not use extra scalar argument.");
63 "ReactionData type does not use extra vector argument.");
82 "Cannot apply another perturbation as state is already perturbed.");
99 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.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
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
virtual void update(double T, const vector_fp &extra)
Update data container based on temperature T and a vector parameter extra
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.