Cantera  2.5.1
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 input 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 https://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  *
24  * @deprecated Unused. To be removed after Cantera 2.5.
25  */
27 {
28 public:
30  virtual ~TransportParams() {}
31 
32  //! Local storage of the number of species
33  size_t nsp_;
34 
35  //! Pointer to the ThermoPhase object: shallow pointer
37 
38  //! Local storage of the molecular weights of the species
39  /*!
40  * Length is nsp_ and units are kg kmol-1.
41  */
43 
44  //! A basis for the average velocity can be specified.
45  /*!
46  * Valid bases include "mole", "mass", and "species" names.
47  */
49 
50  //! Maximum temperatures for parameter fits
51  doublereal tmax;
52 
53  //! Minimum temperatures for parameter fits
54  doublereal tmin;
55 
56  //! Mode parameter
57  int mode_;
58 
59  //! Log level
60  int log_level;
61 };
62 
63 } // End of namespace Cantera
64 
65 #endif //CT_TRANSPORTPARAMS_H
Headers for the DenseMatrix object, which deals with dense rectangular matrices and description of th...
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:102
Base structure to hold transport model parameters.
thermo_t * thermo
Pointer to the ThermoPhase object: shallow pointer.
doublereal tmin
Minimum temperatures for parameter fits.
vector_fp mw
Local storage of the molecular weights of the species.
int mode_
Mode parameter.
doublereal tmax
Maximum temperatures for parameter fits.
size_t nsp_
Local storage of the number of species.
VelocityBasis velocityBasis_
A basis for the average velocity can be specified.
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:180
int VelocityBasis
The diffusion fluxes must be referenced to a particular reference fluid velocity.
Definition: TransportBase.h:57
Namespace for the Cantera kernel.
Definition: AnyMap.cpp:264