Cantera
3.0.0
|
Data container holding shared data specific to BlowersMaselRate. More...
#include <BlowersMaselRate.h>
Data container holding shared data specific to BlowersMaselRate.
The data container BlowersMaselData
holds precalculated data common to all BlowersMaselRate
objects.
Definition at line 19 of file BlowersMaselRate.h.
Public Member Functions | |
void | update (double T) override |
Update data container based on temperature T | |
bool | update (const ThermoPhase &phase, const Kinetics &kin) override |
Update data container based on thermodynamic phase state. | |
void | resize (size_t nSpecies, size_t nReactions, size_t nPhases) override |
Update number of species, reactions and phases. | |
virtual void | update (double T) |
Update data container based on temperature T | |
virtual void | update (double T, double extra) |
Update data container based on temperature T and an extra parameter. | |
virtual void | update (double T, const vector< double > &extra) |
Update data container based on temperature T and a vector parameter extra | |
virtual bool | update (const ThermoPhase &phase, const Kinetics &kin)=0 |
Update data container based on thermodynamic phase state. | |
Public Member Functions inherited from ReactionData | |
virtual void | update (double T) |
Update data container based on temperature T | |
virtual void | update (double T, double extra) |
Update data container based on temperature T and an extra parameter. | |
virtual void | update (double T, const vector< double > &extra) |
Update data container based on temperature T and a vector parameter extra | |
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 | 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. | |
Public Attributes | |
bool | ready = false |
boolean indicating whether vectors are accessible | |
double | density = NAN |
used to determine if updates are needed | |
vector< double > | partialMolarEnthalpies |
partial molar enthalpies | |
Public Attributes inherited from ReactionData | |
double | temperature = 1.0 |
temperature | |
double | logT = 0.0 |
logarithm of temperature | |
double | recipT = 1.0 |
inverse of temperature | |
Protected Attributes | |
int | m_state_mf_number = -1 |
integer that is incremented when composition changes | |
Protected Attributes inherited from ReactionData | |
double | m_temperature_buf = -1.0 |
buffered temperature | |
|
overridevirtual |
Update data container based on temperature T
Only used in conjunction with MultiRateBase::evalSingle / ReactionRate::eval. This method allows for testing of a reaction rate expression outside of Kinetics reaction rate evaluators.
Reimplemented from ReactionData.
Reimplemented in InterfaceData, InterfaceData, and InterfaceData.
Definition at line 14 of file BlowersMaselRate.cpp.
|
overridevirtual |
Update data container based on thermodynamic phase state.
This update mechanism is used by Kinetics reaction rate evaluators.
evalFromStruct
method needs to be called (assuming previously-calculated values were cached) Implements ReactionData.
Reimplemented in InterfaceData, InterfaceData, and InterfaceData.
Definition at line 20 of file BlowersMaselRate.cpp.
|
inlineoverridevirtual |
Update number of species, reactions and phases.
Reimplemented from ReactionData.
Reimplemented in InterfaceData.
Definition at line 27 of file BlowersMaselRate.h.
|
inlinevirtual |
Update data container based on temperature T
Only used in conjunction with MultiRateBase::evalSingle / ReactionRate::eval. This method allows for testing of a reaction rate expression outside of Kinetics reaction rate evaluators.
Reimplemented from ReactionData.
Reimplemented in InterfaceData, InterfaceData, and InterfaceData.
Definition at line 36 of file ReactionData.h.
|
inlinevirtual |
Update data container based on temperature T and an extra parameter.
Only used in conjunction with MultiRateBase::evalSingle / ReactionRate::eval. This method allows for testing of a reaction rate expression outside of Kinetics reaction rate evaluators.
Reimplemented from ReactionData.
Reimplemented in InterfaceData.
Definition at line 48 of file ReactionData.h.
|
inlinevirtual |
Update data container based on temperature T and a vector parameter extra
Only used in conjunction with MultiRateBase::evalSingle / ReactionRate::eval. This method allows for testing of a reaction rate expression outside of Kinetics reaction rate evaluators.
Reimplemented from ReactionData.
Reimplemented in InterfaceData, and InterfaceData.
Definition at line 62 of file ReactionData.h.
|
virtual |
Update data container based on thermodynamic phase state.
This update mechanism is used by Kinetics reaction rate evaluators.
evalFromStruct
method needs to be called (assuming previously-calculated values were cached) Implements ReactionData.
Reimplemented in InterfaceData, InterfaceData, and InterfaceData.
bool ready = false |
boolean indicating whether vectors are accessible
Definition at line 32 of file BlowersMaselRate.h.
double density = NAN |
used to determine if updates are needed
Definition at line 33 of file BlowersMaselRate.h.
vector<double> partialMolarEnthalpies |
partial molar enthalpies
Definition at line 34 of file BlowersMaselRate.h.
|
protected |
integer that is incremented when composition changes
Definition at line 37 of file BlowersMaselRate.h.