Cantera  2.5.1
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 
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 
12 
13 using namespace std;
14 
15 namespace Cantera
16 {
17 
18 TransportParams::TransportParams() :
19  nsp_(0),
20  thermo(0),
21  mw(0),
22  velocityBasis_(VB_MASSAVG),
23  tmax(1000000.),
24  tmin(10.),
25  mode_(0),
26  log_level(-1)
27 {
28  warn_deprecated("class TransportParams",
29  "Unused. To be removed after Cantera 2.5");
30 }
31 
32 } // End of namespace Cantera
Class that holds the data that is read in from the input file, and which is used for processing of th...
void warn_deprecated(const std::string &method, const std::string &extra)
Print a warning indicating that method is deprecated.
Definition: global.cpp:54
Namespace for the Cantera kernel.
Definition: AnyMap.cpp:264
const VelocityBasis VB_MASSAVG
Diffusion velocities are based on the mass averaged velocity.
Definition: TransportBase.h:64