Fixed a warning message in LiquidTransport constructor
Added a deprecated message for array_fp.
This commit is contained in:
parent
5f327277b0
commit
c1879a15e5
3 changed files with 26 additions and 11 deletions
|
|
@ -191,6 +191,9 @@ namespace Cantera {
|
|||
#define USE_STL_VECTOR
|
||||
#ifdef USE_STL_VECTOR
|
||||
//! Vector of doubles.
|
||||
/*!
|
||||
* @deprecated array_fp is going away, because vector_fp means the same thing
|
||||
*/
|
||||
typedef std::vector<double> array_fp;
|
||||
//! Vector of doubles.
|
||||
typedef std::vector<double> vector_fp;
|
||||
|
|
|
|||
|
|
@ -37,16 +37,22 @@ namespace Cantera {
|
|||
m_nBinInt(0),
|
||||
m_tmin(-1.0),
|
||||
m_tmax(100000.),
|
||||
m_viscMixModel(0),
|
||||
m_ionCondMixModel(0),
|
||||
m_lambdaMixModel(0),
|
||||
m_diffMixModel(0),
|
||||
m_radiusMixModel(0),
|
||||
m_iStateMF(-1),
|
||||
concTot_(0.0),
|
||||
concTot_tran_(0.0),
|
||||
dens_(0.0),
|
||||
m_temp(-1.0),
|
||||
m_press(-1.0),
|
||||
|
||||
m_lambda(-1.0),
|
||||
m_viscmix(-1.0),
|
||||
m_ionCondmix(-1.0),
|
||||
m_mobRatMix(-1.0),
|
||||
m_selfDiffMix(-1.0),
|
||||
|
||||
m_mobRatMix(0),
|
||||
m_selfDiffMix(0),
|
||||
m_visc_mix_ok(false),
|
||||
m_visc_temp_ok(false),
|
||||
m_visc_conc_ok(false),
|
||||
|
|
@ -73,22 +79,28 @@ namespace Cantera {
|
|||
}
|
||||
|
||||
|
||||
LiquidTransport::LiquidTransport(const LiquidTransport &right) :
|
||||
Transport(),
|
||||
LiquidTransport::LiquidTransport(const LiquidTransport &right) :
|
||||
Transport(right.m_thermo, right.m_nDim),
|
||||
m_nsp(0),
|
||||
m_nBinInt(0),
|
||||
m_tmin(-1.0),
|
||||
m_tmax(100000.),
|
||||
m_viscMixModel(0),
|
||||
m_ionCondMixModel(0),
|
||||
m_lambdaMixModel(0),
|
||||
m_diffMixModel(0),
|
||||
m_radiusMixModel(0),
|
||||
m_iStateMF(-1),
|
||||
concTot_(0.0),
|
||||
concTot_tran_(0.0),
|
||||
dens_(0.0),
|
||||
m_temp(-1.0),
|
||||
m_press(-1.0),
|
||||
|
||||
m_lambda(-1.0),
|
||||
m_viscmix(-1.0),
|
||||
m_ionCondmix(-1.0),
|
||||
m_mobRatMix(-1.0),
|
||||
m_selfDiffMix(-1.0),
|
||||
|
||||
m_mobRatMix(0),
|
||||
m_selfDiffMix(0),
|
||||
m_visc_mix_ok(false),
|
||||
m_visc_temp_ok(false),
|
||||
m_visc_conc_ok(false),
|
||||
|
|
|
|||
|
|
@ -1060,7 +1060,7 @@ namespace Cantera {
|
|||
*
|
||||
* k is the species index
|
||||
* n is the dimensional index (x, y, or z). It has a length
|
||||
* equal to m_nDimm_
|
||||
* equal to m_nDim
|
||||
*
|
||||
* m_Grad_X[n*m_nsp + k]
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue