Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TransportParams.cpp
Go to the documentation of this file.
1 /**
2  * @file TransportParams.cpp
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 
9 
10 using namespace std;
11 
12 namespace Cantera
13 {
14 
15 TransportParams::TransportParams() :
16  nsp_(0),
17  thermo(0),
18  mw(0),
19  velocityBasis_(VB_MASSAVG),
20  tmax(1000000.),
21  tmin(10.),
22  mode_(0),
23  log_level(-1)
24 {
25 }
26 
27 GasTransportParams::GasTransportParams() :
28  TransportParams(),
29  visccoeffs(0),
30  condcoeffs(0),
31  diffcoeffs(0),
32  poly(0),
33  omega22_poly(0),
34  astar_poly(0),
35  bstar_poly(0),
36  cstar_poly(0),
37  zrot(0),
38  crot(0),
39  polar(0),
40  alpha(0),
41  fitlist(0),
42  eps(0),
43  sigma(0),
44  reducedMass(0, 0),
45  diam(0, 0),
46  epsilon(0, 0),
47  dipole(0, 0),
48  delta(0, 0)
49 {
50  warn_deprecated("class GasTransportParams",
51  "To be removed after Cantera 2.2.");
52 }
53 
54 } // End of namespace Cantera
void warn_deprecated(const std::string &method, const std::string &extra)
Print a warning indicating that method is deprecated.
Definition: global.cpp:78
const VelocityBasis VB_MASSAVG
Diffusion velocities are based on the mass averaged velocity.
Definition: TransportBase.h:86
Class that holds the data that is read in from the XML file, and which is used for processing of the ...