Definition at line 79 of file arrhenius_rate_vexcl_test.C.
AntiochTesting::ArrheniusRateVexCLDoubleTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
Definition at line 65 of file arrhenius_rate_test_helper.h.
Antioch::value_type< vex::vector< double > >::type _R
Antioch::value_type< vex::vector< double > >::type _Cf
Antioch::value_type< vex::vector< double > >::type _Ea
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtualinherited |
Definition at line 52 of file arrhenius_rate_vector_test_base.h.
Referenced by setUp().
Antioch::ArrheniusRate< typename Antioch::value_type< vex::vector< double > >::type > * _rate
void reset_params(Antioch::value_type< vex::vector< double > >::typeCf, Antioch::value_type< vex::vector< double > >::typeEa)
Definition at line 46 of file arrhenius_rate_test_helper.h.
Antioch::value_type< vex::vector< double > >::type _Cf
Antioch::value_type< vex::vector< double > >::type _Ea
Definition at line 52 of file arrhenius_rate_test_helper.h.
Antioch::value_type< vex::vector< double > >::type _R
Antioch::value_type< vex::vector< double > >::type _Cf
Antioch::value_type< vex::vector< double > >::type _Ea
virtual void AntiochTesting::ArrheniusRateVexCLDoubleTest::setUp |
( |
| ) |
|
|
inlinevirtual |
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;
virtual void AntiochTesting::ArrheniusRateVexCLDoubleTest::tearDown |
( |
| ) |
|
|
inlinevirtual |
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 vex::vector< double > exact_deriv(vex::vector< 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 vex::vector< double > exact_rate(vex::vector< 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 vex::vector< double > exact_rate(vex::vector< double >T)=0
_Cf VectorStateType VectorStateType(*) VectorStateType voi rate_and_derivative)(const KineticsConditions< StateType, VectorStateType > &T, StateType &rate, StateType &drate_dT) const
virtual vex::vector< double > exact_deriv(vex::vector< 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< vex::vector< double > >::type > &reaction_rate, const vex::vector< double > &T, typename Antioch::value_type< vex::vector< double > >::typetol)
Antioch::ArrheniusRate< typename Antioch::value_type< vex::vector< double > >::type > * _rate
vex::vector< double > setup_T(const vex::vector< double > &example)
vex::vector< 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< vex::vector< double > >::type > * _rate
vex::vector< double > setup_T(const vex::vector< double > &example)
vex::vector< double > * _example
void test_rate(const Antioch::ArrheniusRate< Antioch::value_type< vex::vector< double > >::type > &reaction_rate, const vex::vector< double > &T, typename Antioch::value_type< vex::vector< 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< vex::vector< double > >::type > &reaction_rate, const vex::vector< double > &T, typename Antioch::value_type< vex::vector< double > >::typetol)
Antioch::ArrheniusRate< typename Antioch::value_type< vex::vector< double > >::type > * _rate
vex::vector< double > setup_T(const vex::vector< double > &example)
vex::vector< double > * _example
Definition at line 59 of file arrhenius_rate_test_helper.h.
Antioch::value_type< vex::vector< double > >::type _R
Antioch::value_type< vex::vector< double > >::type _Cf
Antioch::value_type< vex::vector< double > >::type _Ea
vex::Context* AntiochTesting::ArrheniusRateVexCLDoubleTest::_ctx |
|
private |
The documentation for this class was generated from the following file: