Cantera  2.4.0
TransportParams.h
Go to the documentation of this file.
1 /**
2  * @file TransportParams.h
3  * Class that holds the data that is read in from the XML file, and which is used for
4  * processing of the transport object
5  * (see \ref tranprops and \link Cantera::TransportParams TransportParams \endlink).
6  */
7 
8 // This file is part of Cantera. See License.txt in the top-level directory or
9 // at http://www.cantera.org/license.txt for license and copyright information.
10 
11 #ifndef CT_TRANSPORTPARAMS_H
12 #define CT_TRANSPORTPARAMS_H
13 
15 #include "TransportBase.h"
16 
17 namespace Cantera
18 {
19 
20 //! Base structure to hold transport model parameters.
21 /*!
22  * This structure is used by TransportFactory.
23  */
25 {
26 public:
28  virtual ~TransportParams() {}
29 
30  //! Local storage of the number of species
31  size_t nsp_;
32 
33  //! Pointer to the ThermoPhase object: shallow pointer
35 
36  //! Local storage of the molecular weights of the species
37  /*!
38  * Length is nsp_ and units are kg kmol-1.
39  */
41 
42  //! A basis for the average velocity can be specified.
43  /*!
44  * Valid bases include "mole", "mass", and "species" names.
45  */
47 
48  //! Maximum temperatures for parameter fits
49  doublereal tmax;
50 
51  //! Minimum temperatures for parameter fits
52  doublereal tmin;
53 
54  //! Mode parameter
55  int mode_;
56 
57  //! Log level
58  int log_level;
59 };
60 
61 } // End of namespace Cantera
62 
63 #endif //CT_TRANSPORTPARAMS_H
doublereal tmin
Minimum temperatures for parameter fits.
thermo_t * thermo
Pointer to the ThermoPhase object: shallow pointer.
size_t nsp_
Local storage of the number of species.
doublereal tmax
Maximum temperatures for parameter fits.
Headers for the Transport object, which is the virtual base class for all transport property evaluato...
Base class for a phase with thermodynamic properties.
Definition: ThermoPhase.h:93
int VelocityBasis
The diffusion fluxes must be referenced to a particular reference fluid velocity. ...
Definition: TransportBase.h:60
VelocityBasis velocityBasis_
A basis for the average velocity can be specified.
vector_fp mw
Local storage of the molecular weights of the species.
int mode_
Mode parameter.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
Definition: ct_defs.h:157
Headers for the DenseMatrix object, which deals with dense rectangular matrices and description of th...
Base structure to hold transport model parameters.
Namespace for the Cantera kernel.
Definition: AnyMap.cpp:8