Definition at line 161 of file arrhenius_rate_test.C.
AntiochTesting::ArrheniusRateDoubleTest::CPPUNIT_TEST |
( |
test_standard |
| ) |
|
AntiochTesting::ArrheniusRateDoubleTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtualinherited |
Definition at line 49 of file arrhenius_rate_test.C.
Antioch::ArrheniusRate< double > * _rate
void reset_params(doubleCf, doubleEa)
Definition at line 70 of file reaction_rate_test_base.h.
73 for(Scalar T = 300.1; T <= 2500.1; T += 10.)
79 CPPUNIT_ASSERT_DOUBLES_EQUAL( deriv,
89 CPPUNIT_ASSERT_DOUBLES_EQUAL( deriv,
virtual double exact_deriv(doubleT)=0
_Cf VectorStateType VectorStateType derivative(const KineticsConditions< StateType, VectorStateType > &T) const ANTIOCH_AUTOFUNC(StateType
This class contains the conditions of the chemistry.
Definition at line 43 of file reaction_rate_test_base.h.
46 for(Scalar T = 300.1; T <= 2500.1; T += 10.)
49 Scalar rate = reaction_rate(T);
52 CPPUNIT_ASSERT_DOUBLES_EQUAL( rate,
59 Scalar rate = reaction_rate(cond);
62 CPPUNIT_ASSERT_DOUBLES_EQUAL( rate,
virtual double exact_rate(doubleT)=0
This class contains the conditions of the chemistry.
Definition at line 96 of file reaction_rate_test_base.h.
99 for(Scalar T = 300.1; T <= 2500.1; T += 10.)
111 CPPUNIT_ASSERT_DOUBLES_EQUAL( rate,
115 CPPUNIT_ASSERT_DOUBLES_EQUAL( deriv,
virtual double exact_deriv(doubleT)=0
virtual double exact_rate(doubleT)=0
_Cf VectorStateType VectorStateType(*) VectorStateType voi rate_and_derivative)(const KineticsConditions< StateType, VectorStateType > &T, StateType &rate, StateType &drate_dT) const
This class contains the conditions of the chemistry.
Definition at line 73 of file arrhenius_rate_test.C.
85 const Scalar tol = std::numeric_limits<Scalar>::epsilon() * 100;
void test_rate(const Antioch::ArrheniusRate< double > &reaction_rate, doubletol)
void set_Cf(const CoeffType Cf)
void test_rate_and_deriv(const Antioch::ArrheniusRate< double > &reaction_rate, doubletol)
Antioch::ArrheniusRate< double > * _rate
T get_SI_factor() const
Multiplicative coefficient getter.
void test_deriv(const Antioch::ArrheniusRate< double > &reaction_rate, doubletol)
void reset_params(doubleCf, doubleEa)
void set_Ea(const CoeffType Ea)
set Ea, rescale the value, unit is known
void set_rscale(const CoeffType rscale)
Definition at line 92 of file arrhenius_rate_test.C.
99 std::vector<Scalar> values(2);
104 const Scalar tol = std::numeric_limits<Scalar>::epsilon() * 100;
void test_rate(const Antioch::ArrheniusRate< double > &reaction_rate, doubletol)
void test_rate_and_deriv(const Antioch::ArrheniusRate< double > &reaction_rate, doubletol)
Antioch::ArrheniusRate< double > * _rate
void test_deriv(const Antioch::ArrheniusRate< double > &reaction_rate, doubletol)
void reset_params(doubleCf, doubleEa)
void reset_coefs(const VectorCoeffType &coefficients)
reset the coeffs
Definition at line 111 of file arrhenius_rate_test.C.
113 Scalar Cf = 2.1e-11L;
114 Scalar Ea = 100000.L;
115 Scalar R = Antioch::Constants::R_universal<Scalar>();
119 std::vector<Scalar> values(3);
125 const Scalar tol = std::numeric_limits<Scalar>::epsilon() * 100;
void test_rate(const Antioch::ArrheniusRate< double > &reaction_rate, doubletol)
void test_rate_and_deriv(const Antioch::ArrheniusRate< double > &reaction_rate, doubletol)
Antioch::ArrheniusRate< double > * _rate
void test_deriv(const Antioch::ArrheniusRate< double > &reaction_rate, doubletol)
void reset_params(doubleCf, doubleEa)
void reset_coefs(const VectorCoeffType &coefficients)
reset the coeffs
Definition at line 64 of file arrhenius_rate_test.C.
66 const Scalar tol = std::numeric_limits<Scalar>::epsilon() * 100;
void test_rate(const Antioch::ArrheniusRate< double > &reaction_rate, doubletol)
void test_rate_and_deriv(const Antioch::ArrheniusRate< double > &reaction_rate, doubletol)
Antioch::ArrheniusRate< double > * _rate
void test_deriv(const Antioch::ArrheniusRate< double > &reaction_rate, doubletol)
The documentation for this class was generated from the following file: