antioch-0.4.0
arrhenius_rate_metaphysicl_test.C
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // Antioch - A Gas Dynamics Thermochemistry Library
5 //
6 // Copyright (C) 2014-2016 Paul T. Bauman, Benjamin S. Kirk,
7 // Sylvain Plessis, Roy H. Stonger
8 //
9 // Copyright (C) 2013 The PECOS Development Team
10 //
11 // This library is free software; you can redistribute it and/or
12 // modify it under the terms of the Version 2.1 GNU Lesser General
13 // Public License as published by the Free Software Foundation.
14 //
15 // This library is distributed in the hope that it will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 // Lesser General Public License for more details.
19 //
20 // You should have received a copy of the GNU Lesser General Public
21 // License along with this library; if not, write to the Free Software
22 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
23 // Boston, MA 02110-1301 USA
24 //
25 //-----------------------------------------------------------------------el-
26 
27 #include "antioch_config.h"
28 
29 #ifdef ANTIOCH_HAVE_CPPUNIT
30 
31 #ifdef ANTIOCH_HAVE_METAPHYSICL
32 
33 // MetaPhysicL
34 #include "metaphysicl/numberarray.h"
35 
36 // Antioch
39 #include "antioch/units.h"
42 
43 namespace AntiochTesting
44 {
45  template <typename Scalar>
46  class ArrheniusRateMetaPhysicLTest : public ArrheniusRateVectorTestBase<MetaPhysicL::NumberArray<2*ANTIOCH_N_TUPLES, float> >
47  {
48  public:
49 
50  virtual void setUp()
51  {
52  this->init();
53  this->_example = new MetaPhysicL::NumberArray<2*ANTIOCH_N_TUPLES, float>(0);
54  }
55 
56  virtual void tearDown()
57  {
58  this->clear();
59  delete this->_example;
60  }
61 
62  };
63 
65  {
66  public:
67 
69 
73 
75  };
76 
78  {
79  public:
80 
82 
86 
88  };
89 
91  {
92  public:
93 
95 
99 
101  };
102 
106 
107 } // end namespace AntiochTesting
108 
109 #endif // ANTIOCH_HAVE_METAPHYSICL
110 
111 #endif // ANTIOCH_HAVE_CPPUNIT
CPPUNIT_TEST_SUITE(ArrheniusRateMetaPhysicLFloatTest)
CPPUNIT_TEST_SUITE_REGISTRATION(ArrheniusRateEigenFloatTest)
CPPUNIT_TEST_SUITE(ArrheniusRateMetaPhysicLDoubleTest)
CPPUNIT_TEST_SUITE(ArrheniusRateMetaPhysicLLongDoubleTest)
Advanced unit class.

Generated on Thu Jul 7 2016 11:09:46 for antioch-0.4.0 by  doxygen 1.8.8