antioch-0.4.0
|
base class for kinetics models More...
#include <kinetics_type.h>
Public Member Functions | |
KineticsType (const KineticsModel::KineticsModel type) | |
virtual | ~KineticsType () |
KineticsModel::KineticsModel | type () const |
template<typename StateType , typename VectorStateType > | |
StateType | operator() (const KineticsConditions< StateType, VectorStateType > &conditions) const |
template<typename StateType > | |
StateType | operator() (const StateType &temp) const |
template<typename StateType , typename VectorStateType > | |
StateType | derivative (const KineticsConditions< StateType, VectorStateType > &conditions) const |
CoeffType | get_parameter (KineticsModel::Parameters parameter) const |
get one parameter, characterized by enum More... | |
CoeffType | get_parameter (KineticsModel::Parameters parameter, int l) const |
get one parameter, characterized by enum, for vectorized parameter More... | |
template<typename StateType > | |
StateType | derivative (const StateType &conditions) const |
template<typename StateType , typename VectorStateType > | |
void | compute_rate_and_derivative (const KineticsConditions< StateType, VectorStateType > &conditions, StateType &rate, StateType &drate_dT) const |
template<typename StateType > | |
void | compute_rate_and_derivative (const StateType &temp, StateType &rate, StateType &drate_dT) const |
void | set_index (unsigned int nr) |
virtual const std::string | numeric () const =0 |
void | print (std::ostream &os=std::cout) const |
Formatted print, by default to std::cout . More... | |
Private Attributes | |
KineticsModel::KineticsModel | my_type |
unsigned int | my_index |
Friends | |
std::ostream & | operator<< (std::ostream &os, const KineticsType &rate) |
Formatted print. More... | |
base class for kinetics models
Kinetics models are:
Definition at line 82 of file kinetics_type.h.
|
inline |
Definition at line 151 of file kinetics_type.h.
|
inlinevirtual |
Definition at line 167 of file kinetics_type.h.
|
inline |
Definition at line 336 of file kinetics_type.h.
References antioch_error, Antioch::KineticsModel::ARRHENIUS, Antioch::KineticsModel::BERTHELOT, Antioch::KineticsModel::BHE, Antioch::KineticsModel::CONSTANT, Antioch::KineticsModel::HERCOURT_ESSEN, Antioch::KineticsModel::KOOIJ, Antioch::KineticsConditions< StateType, VectorStateType >::particle_flux(), Antioch::KineticsModel::PHOTOCHEM, and Antioch::KineticsModel::VANTHOFF.
Referenced by test_values().
|
inline |
Definition at line 482 of file kinetics_type.h.
References antioch_deprecated.
|
inline |
Definition at line 259 of file kinetics_type.h.
References antioch_error, Antioch::KineticsModel::ARRHENIUS, Antioch::KineticsModel::BERTHELOT, Antioch::KineticsModel::BHE, Antioch::KineticsModel::CONSTANT, Antioch::KineticsModel::HERCOURT_ESSEN, Antioch::KineticsModel::KOOIJ, Antioch::KineticsConditions< StateType, VectorStateType >::particle_flux(), Antioch::KineticsModel::PHOTOCHEM, Antioch::KineticsConditions< StateType, VectorStateType >::T(), Antioch::KineticsModel::VANTHOFF, and Antioch::zero_clone().
Referenced by test_values().
|
inline |
Definition at line 326 of file kinetics_type.h.
References antioch_deprecated.
CoeffType Antioch::KineticsType< CoeffType, VectorCoeffType >::get_parameter | ( | KineticsModel::Parameters | parameter | ) | const |
get one parameter, characterized by enum
Definition at line 400 of file kinetics_type.h.
References antioch_error, Antioch::KineticsModel::ARRHENIUS, Antioch::KineticsModel::BERTHELOT, Antioch::KineticsModel::BHE, Antioch::KineticsModel::CONSTANT, Antioch::KineticsModel::HERCOURT_ESSEN, Antioch::KineticsModel::KOOIJ, and Antioch::KineticsModel::VANTHOFF.
CoeffType Antioch::KineticsType< CoeffType, VectorCoeffType >::get_parameter | ( | KineticsModel::Parameters | parameter, |
int | l | ||
) | const |
get one parameter, characterized by enum, for vectorized parameter
Definition at line 458 of file kinetics_type.h.
References antioch_error, and Antioch::KineticsModel::PHOTOCHEM.
|
pure virtual |
Implemented in Antioch::VantHoffRate< CoeffType >, Antioch::KooijRate< CoeffType >, Antioch::ArrheniusRate< CoeffType >, Antioch::ArrheniusRate< typename Antioch::value_type< MetaPhysicL::NumberArray< 2 *ANTIOCH_N_TUPLES, float > >::type >, Antioch::ArrheniusRate< Scalar >, Antioch::ArrheniusRate< typename Antioch::value_type< std::valarray< Scalar > >::type >, Antioch::ArrheniusRate< double >, Antioch::ArrheniusRate< float >, Antioch::ArrheniusRate< typename Antioch::value_type< vex::vector< double > >::type >, Antioch::ArrheniusRate< typename Antioch::value_type< std::valarray< float > >::type >, Antioch::ArrheniusRate< typename Antioch::value_type< std::valarray< long double > >::type >, Antioch::ArrheniusRate< typename Antioch::value_type< Eigen::Array< long double, 2 *ANTIOCH_N_TUPLES, 1 > >::type >, Antioch::ArrheniusRate< typename Antioch::value_type< Eigen::Array< float, 2 *ANTIOCH_N_TUPLES, 1 > >::type >, Antioch::ArrheniusRate< typename Antioch::value_type< std::valarray< double > >::type >, Antioch::ArrheniusRate< typename Antioch::value_type< PairScalars >::type >, Antioch::ArrheniusRate< typename Antioch::value_type< vex::vector< float > >::type >, Antioch::ArrheniusRate< long double >, Antioch::ArrheniusRate< typename Antioch::value_type< Eigen::Array< double, 2 *ANTIOCH_N_TUPLES, 1 > >::type >, Antioch::ArrheniusRate< typename Antioch::value_type< Eigen::Array< Scalar, 2 *ANTIOCH_N_TUPLES, 1 > >::type >, Antioch::BerthelotHercourtEssenRate< CoeffType >, Antioch::HercourtEssenRate< CoeffType >, Antioch::BerthelotRate< CoeffType >, Antioch::ConstantRate< CoeffType >, and Antioch::PhotochemicalRate< CoeffType, VectorCoeffType >.
|
inline |
Definition at line 182 of file kinetics_type.h.
References antioch_error, Antioch::KineticsModel::ARRHENIUS, Antioch::KineticsModel::BERTHELOT, Antioch::KineticsModel::BHE, Antioch::KineticsModel::CONSTANT, Antioch::KineticsModel::HERCOURT_ESSEN, Antioch::KineticsModel::KOOIJ, Antioch::KineticsConditions< StateType, VectorStateType >::particle_flux(), Antioch::KineticsModel::PHOTOCHEM, Antioch::KineticsConditions< StateType, VectorStateType >::T(), Antioch::KineticsModel::VANTHOFF, and Antioch::zero_clone().
|
inline |
|
inline |
Formatted print, by default to std::cout
.
Definition at line 144 of file kinetics_type.h.
|
inline |
Definition at line 174 of file kinetics_type.h.
|
inline |
Definition at line 160 of file kinetics_type.h.
Referenced by Antioch::reset_parameter_of_rate(), and Antioch::reset_rate().
|
friend |
Formatted print.
Definition at line 130 of file kinetics_type.h.
|
private |
Definition at line 138 of file kinetics_type.h.
|
private |
Definition at line 137 of file kinetics_type.h.