GRINS-0.8.0
antioch_instantiation_macro.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_INSTANTIATION_MACRO_H
26 #define GRINS_ANTIOCH_INSTANTIATION_MACRO_H
27 
28 #include "grins_config.h"
29 
30 #ifdef GRINS_HAVE_ANTIOCH
31 
32 #define INSTANTIATE_ANTIOCH_TRANSPORT_RAW(class_name,curve_fit) \
33  template class GRINS::class_name<curve_fit, \
34  Antioch::StatMechThermodynamics<libMesh::Real>, \
35  Antioch::SutherlandViscosity<libMesh::Real>, \
36  Antioch::EuckenThermalConductivity<Antioch::StatMechThermodynamics<libMesh::Real> >, \
37  Antioch::ConstantLewisDiffusivity<libMesh::Real> >; \
38  template class GRINS::class_name<curve_fit, \
39  Antioch::StatMechThermodynamics<libMesh::Real>, \
40  Antioch::BlottnerViscosity<libMesh::Real>, \
41  Antioch::EuckenThermalConductivity<Antioch::StatMechThermodynamics<libMesh::Real> >, \
42  Antioch::ConstantLewisDiffusivity<libMesh::Real> >; \
43  template class GRINS::class_name<curve_fit, \
44  Antioch::IdealGasMicroThermo<Antioch::NASAEvaluator<libMesh::Real,curve_fit>, libMesh::Real>, \
45  Antioch::SutherlandViscosity<libMesh::Real>, \
46  Antioch::EuckenThermalConductivity<Antioch::IdealGasMicroThermo<Antioch::NASAEvaluator<libMesh::Real,curve_fit>, libMesh::Real> >, \
47  Antioch::ConstantLewisDiffusivity<libMesh::Real> >; \
48  template class GRINS::class_name<curve_fit, \
49  Antioch::IdealGasMicroThermo<Antioch::NASAEvaluator<libMesh::Real,curve_fit>, libMesh::Real>, \
50  Antioch::BlottnerViscosity<libMesh::Real>, \
51  Antioch::EuckenThermalConductivity<Antioch::IdealGasMicroThermo<Antioch::NASAEvaluator<libMesh::Real,curve_fit>, libMesh::Real> >, \
52  Antioch::ConstantLewisDiffusivity<libMesh::Real> >
53 
54 #define INSTANTIATE_ANTIOCH_TRANSPORT(class_name) \
55  INSTANTIATE_ANTIOCH_TRANSPORT_RAW(class_name,Antioch::CEACurveFit<libMesh::Real>)
56 
57 #ifdef ANTIOCH_HAVE_GSL
58 #define INSTANTIATE_ANTIOCH_KINETICS_THEORY_TRANSPORT_RAW(class_name,curve_fit) \
59  template class GRINS::class_name<curve_fit, \
60  Antioch::StatMechThermodynamics<libMesh::Real>, \
61  Antioch::KineticsTheoryViscosity<libMesh::Real,Antioch::GSLSpliner>, \
62  Antioch::KineticsTheoryThermalConductivity<Antioch::StatMechThermodynamics<libMesh::Real>,libMesh::Real>, \
63  Antioch::MolecularBinaryDiffusion<libMesh::Real,Antioch::GSLSpliner> >; \
64  template class GRINS::class_name<curve_fit, \
65  Antioch::IdealGasMicroThermo<Antioch::NASAEvaluator<libMesh::Real,curve_fit>, libMesh::Real>, \
66  Antioch::KineticsTheoryViscosity<libMesh::Real,Antioch::GSLSpliner>, \
67  Antioch::KineticsTheoryThermalConductivity<Antioch::IdealGasMicroThermo<Antioch::NASAEvaluator<libMesh::Real,curve_fit> >,libMesh::Real>, \
68  Antioch::MolecularBinaryDiffusion<libMesh::Real,Antioch::GSLSpliner> >
69 
70 #define INSTANTIATE_ANTIOCH_KINETICS_THEORY_TRANSPORT(class_name) \
71  INSTANTIATE_ANTIOCH_KINETICS_THEORY_TRANSPORT_RAW(class_name,Antioch::CEACurveFit<libMesh::Real>)
72 
73 #endif // ANTIOCH_HAVE_GSL
74 
75 #endif // GRINS_HAVE_ANTIOCH
76 
77 #endif // GRINS_ANTIOCH_INSTANTIATION_MACRO_H

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