antioch-0.4.0
|
This class contains the conditions of the chemistry. More...
#include <kinetics_conditions.h>
Public Member Functions | |
KineticsConditions (const StateType &temperature) | |
~KineticsConditions () | |
void | add_particle_flux (const ParticleFlux< VectorStateType > &pf, unsigned int nr) |
const StateType & | T () const |
const StateType & | Tvib () const |
returns the temperature T, More... | |
const TempCache< StateType > & | temp_cache () const |
const ParticleFlux < VectorStateType > & | particle_flux (int nr) const |
Private Member Functions | |
KineticsConditions () | |
Private Attributes | |
TempCache< StateType > | _temperature |
std::map< unsigned int, ParticleFlux< VectorStateType > const *const > | _map_pf |
This class contains the conditions of the chemistry.
Conditions are:
Pressure is given by the molecular composition of the mixture, we are in a gaz phase, so the state equation will give pressure (typically ideal gas).
The idea is to avoid any copy of anything as much as we can, we store pointers but deal only with references. Nothing belongs to this object, if there is any cleaning to do, it must be done elsewhere.
Might be interesting to see about the "double" case for temperature: faster to copy instead of copying the reference, and it's expected to be the classic case.
Definition at line 64 of file kinetics_conditions.h.
|
inline |
Definition at line 98 of file kinetics_conditions.h.
|
inline |
Definition at line 106 of file kinetics_conditions.h.
|
private |
|
inline |
Definition at line 113 of file kinetics_conditions.h.
Referenced by tester().
|
inline |
Definition at line 134 of file kinetics_conditions.h.
References antioch_assert.
Referenced by Antioch::KineticsType< CoeffType, VectorCoeffType >::compute_rate_and_derivative(), Antioch::KineticsType< CoeffType, VectorCoeffType >::derivative(), and Antioch::KineticsType< CoeffType, VectorCoeffType >::operator()().
|
inline |
Definition at line 120 of file kinetics_conditions.h.
Referenced by Antioch::FalloffReaction< CoeffType, FalloffType >::compute_forward_rate_coefficient(), Antioch::FalloffThreeBodyReaction< CoeffType, FalloffType >::compute_forward_rate_coefficient(), Antioch::Reaction< CoeffType, VectorCoeffType >::compute_forward_rate_coefficient(), Antioch::DuplicateReaction< CoeffType >::compute_forward_rate_coefficient_and_derivatives(), Antioch::FalloffReaction< CoeffType, FalloffType >::compute_forward_rate_coefficient_and_derivatives(), Antioch::FalloffThreeBodyReaction< CoeffType, FalloffType >::compute_forward_rate_coefficient_and_derivatives(), Antioch::Reaction< CoeffType, VectorCoeffType >::compute_rate_of_progress_and_derivatives(), Antioch::ReactionSet< CoeffType >::compute_reaction_rates(), Antioch::ReactionSet< CoeffType >::compute_reaction_rates_and_derivs(), Antioch::KineticsType< CoeffType, VectorCoeffType >::derivative(), Antioch::ReactionSet< CoeffType >::get_reactive_scheme(), and Antioch::KineticsType< CoeffType, VectorCoeffType >::operator()().
|
inline |
Definition at line 142 of file kinetics_conditions.h.
|
inline |
returns the temperature T,
Definition at line 127 of file kinetics_conditions.h.
|
private |
Definition at line 91 of file kinetics_conditions.h.
|
private |
Definition at line 88 of file kinetics_conditions.h.