antioch-0.4.0
mixture_transport_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_MIXTURE_TRANSPORT_BASE_H
28 #define ANTIOCH_MIXTURE_TRANSPORT_BASE_H
29 
31 
32 namespace Antioch
33 {
35 
36  template<class CoeffType=double>
38  {
39  public:
40 
42 
43  virtual ~MixtureTransportBase(){};
44 
46 
48 
49  const TransportMixture<CoeffType>& mixture() const;
50 
51  protected:
52 
54 
55  private:
56 
58 
59  };
60 
61  template<class CoeffType>
63  : _transport_mixture(transport_mixture)
64  {}
65 
66  template<class CoeffType>
67  inline
69  {
70  return _transport_mixture.chemical_mixture();
71  }
72 
73  template<class CoeffType>
74  inline
76  {
77  return _transport_mixture;
78  }
79 
80  template<class CoeffType>
81  inline
83  {
84  return _transport_mixture;
85  }
86 
87 } // end namespace Antioch
88 
89 #endif // ANTIOCH_MIXTURE_TRANSPORT_BASE_H
const TransportMixture< CoeffType > & _transport_mixture
const ChemicalMixture< CoeffType > & chemical_mixture() const
const TransportMixture< CoeffType > & mixture() const
Base class for MixtureViscosity, MixtureConductivity, etc.
Class storing chemical mixture properties.
Definition: ascii_parser.h:55
Class storing chemical mixture properties.
The parameters are reduced parameters.
const TransportMixture< CoeffType > & transport_mixture() const

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