27 #ifndef _ANTIOCH_KINETICS_TYPE_H
28 #define _ANTIOCH_KINETICS_TYPE_H
43 template <
typename CoeffType>
46 template <
typename CoeffType>
47 class HercourtEssenRate;
49 template <
typename CoeffType>
52 template <
typename CoeffType>
55 template <
typename CoeffType>
56 class BerthelotHercourtEssenRate;
58 template <
typename CoeffType>
61 template <
typename CoeffType>
64 template <
typename CoeffType,
typename VectorCoeffType>
81 template <
typename CoeffType,
typename VectorCoeffType = std::vector<CoeffType> >
90 template <
typename StateType,
typename VectorStateType>
94 template <
typename StateType>
95 StateType
operator()(
const StateType& temp)
const;
98 template <
typename StateType,
typename VectorStateType>
108 template <
typename StateType>
109 StateType
derivative(
const StateType & conditions )
const;
112 template <
typename StateType,
typename VectorStateType>
116 template <
typename StateType>
119 StateType& drate_dT)
const;
124 virtual const std::string
numeric()
const = 0;
127 void print(std::ostream& os = std::cout)
const;
142 template <
typename CoeffType,
typename VectorCoeffType>
149 template <
typename CoeffType,
typename VectorCoeffType>
158 template <
typename CoeffType,
typename VectorCoeffType>
165 template <
typename CoeffType,
typename VectorCoeffType>
172 template <
typename CoeffType,
typename VectorCoeffType>
179 template <
typename CoeffType,
typename VectorCoeffType>
180 template <
typename StateType,
typename VectorStateType>
245 template <
typename CoeffType,
typename VectorCoeffType>
246 template <
typename StateType>
249 (
const StateType & temp)
const
256 template <
typename CoeffType,
typename VectorCoeffType>
257 template <
typename StateType,
typename VectorStateType>
322 template <
typename CoeffType,
typename VectorCoeffType>
323 template <
typename StateType>
326 (
const StateType & temp )
const
333 template <
typename CoeffType,
typename VectorCoeffType>
334 template <
typename StateType,
typename VectorStateType>
337 StateType& rate, StateType& drate_dT)
const
373 (
static_cast<const KooijRate<CoeffType>*
>(
this))->rate_and_derivative(conditions,rate,drate_dT);
399 template <
typename CoeffType,
typename VectorCoeffType>
457 template <
typename CoeffType,
typename VectorCoeffType>
478 template <
typename CoeffType,
typename VectorCoeffType>
479 template <
typename StateType>
482 (
const StateType & temp,
483 StateType& rate, StateType& drate_dT)
const
486 return compute_rate_and_derivative
StateType derivative(const KineticsConditions< StateType, VectorStateType > &conditions) const
KineticsType(const KineticsModel::KineticsModel type)
void compute_rate_and_derivative(const KineticsConditions< StateType, VectorStateType > &conditions, StateType &rate, StateType &drate_dT) const
base class for kinetics models
StateType operator()(const KineticsConditions< StateType, VectorStateType > &conditions) const
KineticsModel::KineticsModel type() const
Berthelot Hercourt-Essen rate equation.
void print(std::ostream &os=std::cout) const
Formatted print, by default to std::cout.
const ParticleFlux< VectorStateType > & particle_flux(int nr) const
KineticsModel::KineticsModel my_type
friend std::ostream & operator<<(std::ostream &os, const KineticsType &rate)
Formatted print.
void set_index(unsigned int nr)
CoeffType get_parameter(KineticsModel::Parameters parameter) const
get one parameter, characterized by enum
#define antioch_deprecated()
Van't Hoff rate equation.
Hercourt-Essen rate equation.
The parameters are reduced parameters.
_Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > zero_clone(const _Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &ex)
const StateType & T() const
This class contains the conditions of the chemistry.
virtual const std::string numeric() const =0