antioch-0.4.0
|
Photochemical rate. More...
#include <kinetics_type.h>
Public Member Functions | |
PhotochemicalRate (const VectorCoeffType &cs, const VectorCoeffType &lambda) | |
PhotochemicalRate () | |
~PhotochemicalRate () | |
VectorCoeffType | cross_section () const |
VectorCoeffType | lambda_grid () const |
void | set_cross_section (const VectorCoeffType &cs) |
void | set_lambda_grid (const VectorCoeffType &l) |
void | set_cross_section (CoeffType cs, int il) |
void | set_lambda_grid (CoeffType l, int il) |
void | set_parameter (KineticsModel::Parameters parameter, int l, CoeffType new_value) |
set one value of one parameter, characterized by enum and its index More... | |
CoeffType | get_parameter (KineticsModel::Parameters parameter, int l) const |
set one parameter, characterized by enum More... | |
void | reset_coefs (const VectorCoeffType &coefficients) |
reset the coefficients More... | |
template<typename VectorStateType > | |
void | calculate_rate_constant (const VectorStateType &hv_flux, const VectorStateType &hv_lambda, bool x_update=true) |
calculate _k for a given photon flux More... | |
const std::string | numeric () const |
print equation More... | |
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 |
template<typename StateType > | |
StateType | derivative (const StateType &conditions) const |
CoeffType | get_parameter (KineticsModel::Parameters parameter) const |
get one parameter, characterized by enum More... | |
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) |
void | print (std::ostream &os=std::cout) const |
Formatted print, by default to std::cout . More... | |
Public Attributes | |
template<typename VectorStateType > | |
operator()(const ParticleFlux < VectorStateType > &pf) const template< typename VectorStateType > typename value_type< VectorStateType > | derivative (const ParticleFlux< VectorStateType > &) const template< typename StateType |
Simultaneously evaluate the rate and its derivative at T . More... | |
operator()(const ParticleFlux < VectorStateType > &pf) const template< typename VectorStateType > typename value_type< VectorStateType > VectorStateType void | rate_and_derivative (const ParticleFlux< VectorStateType > &pf, StateType &rate, StateType &drate_dT) const |
Private Attributes | |
VectorCoeffType | _cross_section |
VectorCoeffType | _lambda_grid |
SigmaBinConverter < VectorCoeffType > | _converter |
Photochemical rate.
Definition at line 65 of file kinetics_type.h.
|
inline |
Definition at line 128 of file photochemical_rate.h.
|
inline |
Definition at line 139 of file photochemical_rate.h.
|
inline |
Definition at line 147 of file photochemical_rate.h.
void Antioch::PhotochemicalRate< CoeffType, VectorCoeffType >::calculate_rate_constant | ( | const VectorStateType & | hv_flux, |
const VectorStateType & | hv_lambda, | ||
bool | x_update = true |
||
) |
calculate _k for a given photon flux
|
inlineinherited |
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().
|
inlineinherited |
Definition at line 482 of file kinetics_type.h.
References antioch_deprecated.
|
inline |
Definition at line 308 of file photochemical_rate.h.
|
inlineinherited |
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().
|
inlineinherited |
Definition at line 326 of file kinetics_type.h.
References antioch_deprecated.
|
inline |
set one parameter, characterized by enum
Definition at line 229 of file photochemical_rate.h.
References antioch_assert_less, antioch_error, Antioch::KineticsModel::LAMBDA, and Antioch::KineticsModel::SIGMA.
|
inherited |
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.
|
inline |
Definition at line 315 of file photochemical_rate.h.
|
inlinevirtual |
print equation
Implements Antioch::KineticsType< CoeffType, VectorCoeffType >.
Definition at line 287 of file photochemical_rate.h.
|
inlineinherited |
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().
|
inlineinherited |
|
inlineinherited |
Formatted print, by default to std::cout
.
Definition at line 144 of file kinetics_type.h.
|
inline |
reset the coefficients
Contrary to the other rate models, no choice here in the VectorCoeffType type. The order assumed is lambda, cross-section
Definition at line 185 of file photochemical_rate.h.
References antioch_assert_equal_to.
|
inline |
Definition at line 154 of file photochemical_rate.h.
|
inline |
Definition at line 167 of file photochemical_rate.h.
References antioch_assert_less.
|
inlineinherited |
Definition at line 174 of file kinetics_type.h.
|
inline |
Definition at line 161 of file photochemical_rate.h.
|
inline |
Definition at line 176 of file photochemical_rate.h.
References antioch_assert_less.
|
inline |
set one value of one parameter, characterized by enum and its index
Definition at line 204 of file photochemical_rate.h.
References antioch_error, Antioch::KineticsModel::LAMBDA, and Antioch::KineticsModel::SIGMA.
Referenced by tester().
|
inlineinherited |
Definition at line 160 of file kinetics_type.h.
Referenced by Antioch::reset_parameter_of_rate(), and Antioch::reset_rate().
|
private |
Definition at line 59 of file photochemical_rate.h.
|
private |
Definition at line 57 of file photochemical_rate.h.
|
private |
Definition at line 58 of file photochemical_rate.h.
operator() (const ParticleFlux<VectorStateType> & pf) const template <typename VectorStateType> typename value_type<VectorStateType> Antioch::PhotochemicalRate< CoeffType, VectorCoeffType >::derivative(const ParticleFlux< VectorStateType > &) const template< typename StateType |
Simultaneously evaluate the rate and its derivative at T
.
Definition at line 114 of file photochemical_rate.h.
|
inline |
Definition at line 119 of file photochemical_rate.h.