antioch-0.4.0
|
#include <limits>
#include <vector>
#include "antioch/kooij_rate.h"
#include "antioch/physical_constants.h"
#include "antioch/units.h"
Go to the source code of this file.
Functions | |
template<typename Scalar > | |
int | check_rate_and_derivative (const Scalar &rate_exact, const Scalar &derive_exact, const Scalar &rate, const Scalar &derive, const Scalar &T) |
template<typename Scalar > | |
int | test_values (const Scalar &Cf, const Scalar &eta, const Scalar &Ea, const Scalar &Tref, const Scalar &R, const Antioch::KooijRate< Scalar > &kooij_rate) |
template<typename Scalar > | |
int | tester () |
int | main () |
int check_rate_and_derivative | ( | const Scalar & | rate_exact, |
const Scalar & | derive_exact, | ||
const Scalar & | rate, | ||
const Scalar & | derive, | ||
const Scalar & | T | ||
) |
int main | ( | ) |
Definition at line 165 of file kooij_rate_unit.C.
int test_values | ( | const Scalar & | Cf, |
const Scalar & | eta, | ||
const Scalar & | Ea, | ||
const Scalar & | Tref, | ||
const Scalar & | R, | ||
const Antioch::KooijRate< Scalar > & | kooij_rate | ||
) |
Definition at line 70 of file kooij_rate_unit.C.
References check_rate_and_derivative(), Antioch::KooijRate< CoeffType >::derivative(), std::pow(), and Antioch::KooijRate< CoeffType >::rate_and_derivative.
Referenced by tester().
int tester | ( | ) |
Definition at line 110 of file kooij_rate_unit.C.
References Antioch::Units< T >::get_SI_factor(), Antioch::KooijRate< CoeffType >::reset_coefs(), Antioch::KooijRate< CoeffType >::set_Cf(), Antioch::KooijRate< CoeffType >::set_Ea(), Antioch::KooijRate< CoeffType >::set_eta(), Antioch::KooijRate< CoeffType >::set_rscale(), Antioch::KooijRate< CoeffType >::set_Tref(), test_values(), and Antioch::KineticsModel::Tref().