GRINS-0.8.0
antioch_test_base.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // GRINS - General Reacting Incompressible Navier-Stokes
5 //
6 // Copyright (C) 2014-2017 Paul T. Bauman, Roy H. Stogner
7 // Copyright (C) 2010-2013 The PECOS Development Team
8 //
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the Version 2.1 GNU Lesser General
11 // Public License as published by the Free Software Foundation.
12 //
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
17 //
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
21 // Boston, MA 02110-1301 USA
22 //
23 //-----------------------------------------------------------------------el-
24 
25 #ifndef GRINS_ANTIOCH_TEST_BASE_H
26 #define GRINS_ANTIOCH_TEST_BASE_H
27 
28 #include "grins_config.h"
29 
30 #ifdef GRINS_HAVE_ANTIOCH
31 
32 // GRINS
33 #include "grins/antioch_mixture.h"
34 
35 // libMesh
36 #include "libmesh/libmesh_common.h"
37 #include "libmesh/getpot.h"
39 
40 namespace GRINSTesting
41 {
43  {
44  public:
45 
46  void init_antioch(const std::string & input_file, const std::string & material_name)
47  {
48  GetPot input(input_file);
49 
51 
52  this->_antioch_mixture =
53  builder.build_antioch_mixture<Antioch::CEACurveFit<libMesh::Real> >(input,material_name);
54  }
55 
56  protected:
57 
58  libMesh::UniquePtr<GRINS::AntiochMixture<Antioch::CEACurveFit<libMesh::Real> > > _antioch_mixture;
59  };
60 
61 } // end namespace GRINSTesting
62 
63 #endif // GRINS_HAVE_ANTIOCH
64 
65 #endif // GRINS_ANTIOCH_TEST_BASE_H
void init_antioch(const std::string &input_file, const std::string &material_name)
libMesh::UniquePtr< AntiochMixture< KineticsThermoCurveFit > > build_antioch_mixture(const GetPot &input, const std::string &material)
Base class building Antioch mixture wrappers.
libMesh::UniquePtr< GRINS::AntiochMixture< Antioch::CEACurveFit< libMesh::Real > > > _antioch_mixture

Generated on Tue Dec 19 2017 12:47:29 for GRINS-0.8.0 by  doxygen 1.8.9.1