AntiochTesting::ArrheniusRateValarrayDoubleTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
Definition at line 65 of file arrhenius_rate_test_helper.h.
Antioch::value_type< std::valarray< double > >::type _R
Antioch::value_type< std::valarray< double > >::type _Cf
Antioch::value_type< std::valarray< double > >::type _Ea
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtualinherited |
Definition at line 52 of file arrhenius_rate_vector_test_base.h.
Antioch::ArrheniusRate< typename Antioch::value_type< std::valarray< double > >::type > * _rate
void reset_params(Antioch::value_type< std::valarray< double > >::typeCf, Antioch::value_type< std::valarray< double > >::typeEa)
Definition at line 46 of file arrhenius_rate_test_helper.h.
Antioch::value_type< std::valarray< double > >::type _Cf
Antioch::value_type< std::valarray< double > >::type _Ea
Definition at line 52 of file arrhenius_rate_test_helper.h.
Antioch::value_type< std::valarray< double > >::type _R
Antioch::value_type< std::valarray< double > >::type _Cf
Antioch::value_type< std::valarray< double > >::type _Ea
Definition at line 123 of file reaction_rate_vector_test_base.h.
126 PairScalars T = example;
127 for (
unsigned int tuple=0; tuple != ANTIOCH_N_TUPLES; ++tuple)
130 T[2*tuple+1] = 1600.1;
Definition at line 64 of file reaction_rate_vector_test_base.h.
68 const PairScalars deriv = reaction_rate.
derivative(T);
71 for (
unsigned int tuple=0; tuple != ANTIOCH_N_TUPLES; ++tuple)
73 CPPUNIT_ASSERT_DOUBLES_EQUAL( deriv[2*tuple],
77 CPPUNIT_ASSERT_DOUBLES_EQUAL( deriv[2*tuple+1],
_Cf VectorStateType VectorStateType derivative(const KineticsConditions< StateType, VectorStateType > &T) const ANTIOCH_AUTOFUNC(StateType
virtual std::valarray< double > exact_deriv(std::valarray< double >T)=0
Definition at line 44 of file reaction_rate_vector_test_base.h.
48 const PairScalars rate = reaction_rate(T);
51 for (
unsigned int tuple=0; tuple != ANTIOCH_N_TUPLES; ++tuple)
53 CPPUNIT_ASSERT_DOUBLES_EQUAL( rate[2*tuple],
57 CPPUNIT_ASSERT_DOUBLES_EQUAL( rate[2*tuple+1],
virtual std::valarray< double > exact_rate(std::valarray< double >T)=0
Definition at line 84 of file reaction_rate_vector_test_base.h.
90 PairScalars deriv = T;
97 for (
unsigned int tuple=0; tuple != ANTIOCH_N_TUPLES; ++tuple)
99 CPPUNIT_ASSERT_DOUBLES_EQUAL( rate[2*tuple],
103 CPPUNIT_ASSERT_DOUBLES_EQUAL( rate[2*tuple+1],
107 CPPUNIT_ASSERT_DOUBLES_EQUAL( deriv[2*tuple],
111 CPPUNIT_ASSERT_DOUBLES_EQUAL( deriv[2*tuple+1],
virtual std::valarray< double > exact_rate(std::valarray< double >T)=0
_Cf VectorStateType VectorStateType(*) VectorStateType voi rate_and_derivative)(const KineticsConditions< StateType, VectorStateType > &T, StateType &rate, StateType &drate_dT) const
virtual std::valarray< double > exact_deriv(std::valarray< double >T)=0
Definition at line 78 of file arrhenius_rate_vector_test_base.h.
82 const Scalar tol = std::numeric_limits<Scalar>::epsilon() * 100;
void test_deriv(const Antioch::ArrheniusRate< Antioch::value_type< std::valarray< double > >::type > &reaction_rate, const std::valarray< double > &T, typename Antioch::value_type< std::valarray< double > >::typetol)
Antioch::ArrheniusRate< typename Antioch::value_type< std::valarray< double > >::type > * _rate
std::valarray< double > setup_T(const std::valarray< double > &example)
std::valarray< double > * _example
Definition at line 69 of file arrhenius_rate_vector_test_base.h.
73 const Scalar tol = std::numeric_limits<Scalar>::epsilon() * 100;
Antioch::ArrheniusRate< typename Antioch::value_type< std::valarray< double > >::type > * _rate
std::valarray< double > setup_T(const std::valarray< double > &example)
std::valarray< double > * _example
void test_rate(const Antioch::ArrheniusRate< Antioch::value_type< std::valarray< double > >::type > &reaction_rate, const std::valarray< double > &T, typename Antioch::value_type< std::valarray< double > >::typetol)
Definition at line 87 of file arrhenius_rate_vector_test_base.h.
91 const Scalar tol = std::numeric_limits<Scalar>::epsilon() * 100;
void test_rate_and_deriv(const Antioch::ArrheniusRate< Antioch::value_type< std::valarray< double > >::type > &reaction_rate, const std::valarray< double > &T, typename Antioch::value_type< std::valarray< double > >::typetol)
Antioch::ArrheniusRate< typename Antioch::value_type< std::valarray< double > >::type > * _rate
std::valarray< double > setup_T(const std::valarray< double > &example)
std::valarray< double > * _example
Definition at line 59 of file arrhenius_rate_test_helper.h.
Antioch::value_type< std::valarray< double > >::type _R
Antioch::value_type< std::valarray< double > >::type _Cf
Antioch::value_type< std::valarray< double > >::type _Ea
The documentation for this class was generated from the following file: