antioch-0.4.0
species_conductivity_base.h
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 #ifndef ANTIOCH_SPECIES_CONDUCTIVITY_BASE_H
28 #define ANTIOCH_SPECIES_CONDUCTIVITY_BASE_H
29 
30 // Antioch
31 #include "antioch/metaprogramming_decl.h" // ANTIOCH_AUTO*
32 
33 namespace Antioch
34 {
36 
45  template<class Subclass>
47  {
48  public:
49 
51 
53 
55  template <typename StateType>
56  ANTIOCH_AUTO(StateType)
57  operator()( const unsigned int s, const StateType& mu, const StateType & T ) const
58  ANTIOCH_AUTOFUNC(StateType, static_cast<const Subclass*>(this)->op_no_diff_impl(s,mu,T))
59 
60 
62  template <typename StateType>
63  const ANTIOCH_AUTO(StateType)
64  operator()(unsigned int s, const StateType& mu_s, const StateType & T, const StateType & rho_s, const StateType & Dss) const
65  ANTIOCH_AUTOFUNC(StateType, static_cast<const Subclass*>(this)->op_with_diff_impl(s,mu_s,T,rho_s,Dss))
66 
67  };
68 } // end namespace Antioch
69 
70 #endif // ANTIOCH_SPECIES_CONDUCTIVITY_BASE_H
Base class for species conducitivity models.
#define ANTIOCH_AUTOFUNC(Type, Expr)
const ANTIOCH_AUTO(StateType) KineticsTheoryThermalConductivity< ThermoEvaluator
The parameters are reduced parameters.

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