27 #ifndef ANTIOCH_CONSTANT_RATE_H
28 #define ANTIOCH_CONSTANT_RATE_H
54 template<
typename CoeffType=
double>
73 template <
typename VectorCoeffType>
74 void reset_coefs(
const VectorCoeffType & coefficients);
87 template <
typename VectorCoeffType>
91 template <
typename StateType>
97 template <typename StateType>
103 template <typename StateType>
109 template <typename StateType>
114 template <typename StateType, typename VectorStateType>
120 template <typename StateType, typename VectorStateType>
126 template <typename StateType, typename VectorStateType>
132 template <typename StateType, typename VectorStateType>
140 template<typename CoeffType>
148 template<
typename CoeffType>
154 template<
typename CoeffType>
157 std::stringstream os;
164 template<
typename CoeffType>
173 template<
typename CoeffType>
184 template<
typename CoeffType>
193 template<
typename CoeffType>
194 template <
typename VectorCoeffType>
200 this->
set_Cf(coefficients[0]);
203 template<
typename CoeffType>
208 template<
typename CoeffType>
209 template<
typename StateType>
213 StateType& drate_dT)
const
220 template<
typename CoeffType>
221 template<
typename StateType,
typename VectorStateType>
225 StateType& drate_dT)
const
234 #endif // ANTIOCH_HERCOURT_ESSEN_RATE_H
base class for kinetics models
StateType StateType &drate_dT const
#define antioch_assert_equal_to(expr1, expr2)
const std::string numeric() const
print equation
constant_clone(cond.T(), _Cf)) template< typename StateType
ConstantRate(const CoeffType Cf=0.)
void set_parameter(KineticsModel::Parameters parameter, VectorCoeffType new_value)
for compatibility purpose with photochemistry (particle flux reactions)
VectorStateType VectorStateType zero_clone(cond.T())) template< typename StateType
Simultaneously evaluate the rate and its derivative at T.
void set_Cf(const CoeffType Cf)
CoeffType get_parameter(KineticsModel::Parameters parameter) const
get one parameter, characterized by enum
VectorStateType VectorStateType derivative(const KineticsConditions< StateType, VectorStateType > &cond) const ANTIOCH_AUTOFUNC(StateType
VectorStateType VectorStateType VectorStateType void rate_and_derivative(const KineticsConditions< StateType, VectorStateType > &cond, StateType &rate, StateType &drate_dT) const
void set_zero(_Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &a)
#define ANTIOCH_AUTOFUNC(Type, Expr)
void reset_coefs(const VectorCoeffType &coefficients)
reset the coeffs
void constant_fill(_Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &output, const Scalar &value)
const ANTIOCH_AUTO(StateType) KineticsTheoryThermalConductivity< ThermoEvaluator
The parameters are reduced parameters.
This class contains the conditions of the chemistry.
void set_parameter(KineticsModel::Parameters parameter, CoeffType new_value)
set one parameter, characterized by enum