Cantera  2.4.0
LiquidTransportParams.cpp
Go to the documentation of this file.
1 /**
2  * @file LiquidTransportParams.cpp
3  * Source code for liquid mixture transport property evaluations.
4  */
5 
6 // This file is part of Cantera. See License.txt in the top-level directory or
7 // at http://www.cantera.org/license.txt for license and copyright information.
8 
10 using namespace std;
11 
12 namespace Cantera
13 {
14 
15 LiquidTransportParams::LiquidTransportParams() :
16  viscosity(0),
17  ionConductivity(0),
18  thermalCond(0),
19  speciesDiffusivity(0),
20  electCond(0),
21  hydroRadius(0),
22  model_viscosity(LTI_MODEL_NOTSET),
23  model_speciesDiffusivity(LTI_MODEL_NOTSET),
24  model_hydroradius(LTI_MODEL_NOTSET),
25  compositionDepTypeDefault_(LTI_MODEL_NOTSET)
26 {
27  warn_deprecated("Class LiquidTransportParams", "To be removed after Cantera 2.4");
28 }
29 
30 LiquidTransportParams::~LiquidTransportParams()
31 {
32  delete viscosity;
33  delete ionConductivity;
34  delete thermalCond;
35  delete speciesDiffusivity;
36  delete electCond;
37  delete hydroRadius;
38 }
39 
40 } //namespace Cantera
void warn_deprecated(const std::string &method, const std::string &extra)
Print a warning indicating that method is deprecated.
Definition: global.cpp:54
STL namespace.
LiquidTranInteraction * viscosity
Object that specifies the viscosity interaction for the mixture.
Header file defining class LiquidTransportParams.
LiquidTranInteraction * ionConductivity
Object that specifies the ionic Conductivity of the mixture.
LiquidTranInteraction * speciesDiffusivity
Pointer to the LiquidTranInteraction object which handles the calculation of the species diffusivity ...
LiquidTranInteraction * hydroRadius
Pointer to the LiquidTranInteraction object which handles the calculation of the hydrodynamic radius ...
Namespace for the Cantera kernel.
Definition: AnyMap.cpp:8
LiquidTranInteraction * thermalCond
Pointer to the LiquidTranInteraction object which handles the calculation of the mixture thermal cond...
LiquidTranInteraction * electCond
Pointer to the LiquidTranInteraction object which handles the calculation of the electrical conductiv...