Remove some unused, inaccessible variables
This commit is contained in:
parent
9c084d5c84
commit
90d18dd337
9 changed files with 3 additions and 35 deletions
|
|
@ -79,7 +79,6 @@ public:
|
||||||
CanteraError(const std::string& procedure, const std::string& msg,
|
CanteraError(const std::string& procedure, const std::string& msg,
|
||||||
const Args&... args)
|
const Args&... args)
|
||||||
: procedure_(procedure)
|
: procedure_(procedure)
|
||||||
, saved_(false)
|
|
||||||
{
|
{
|
||||||
if (sizeof...(args) == 0) {
|
if (sizeof...(args) == 0) {
|
||||||
msg_ = msg;
|
msg_ = msg;
|
||||||
|
|
@ -105,7 +104,7 @@ public:
|
||||||
protected:
|
protected:
|
||||||
//! Protected default constructor discourages throwing errors containing no
|
//! Protected default constructor discourages throwing errors containing no
|
||||||
//! information.
|
//! information.
|
||||||
CanteraError() : saved_(false) {};
|
CanteraError() {};
|
||||||
|
|
||||||
//! Constructor used by derived classes that override getMessage()
|
//! Constructor used by derived classes that override getMessage()
|
||||||
explicit CanteraError(const std::string& procedure);
|
explicit CanteraError(const std::string& procedure);
|
||||||
|
|
@ -116,7 +115,6 @@ protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string msg_; //!< Message associated with the exception
|
std::string msg_; //!< Message associated with the exception
|
||||||
bool saved_; //!< Exception has already been saved to Cantera's error stack
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -249,12 +249,6 @@ private:
|
||||||
//! Pointer to the water property calculator
|
//! Pointer to the water property calculator
|
||||||
std::unique_ptr<WaterProps> m_waterProps;
|
std::unique_ptr<WaterProps> m_waterProps;
|
||||||
|
|
||||||
//! Born coefficient for the current ion or species
|
|
||||||
doublereal m_born_coeff_j;
|
|
||||||
|
|
||||||
//! Electrostatic radii
|
|
||||||
doublereal m_r_e_j;
|
|
||||||
|
|
||||||
//! Input value of deltaG of Formation at Tr and Pr (cal gmol-1)
|
//! Input value of deltaG of Formation at Tr and Pr (cal gmol-1)
|
||||||
/*!
|
/*!
|
||||||
* Tr = 298.15 Pr = 1 atm
|
* Tr = 298.15 Pr = 1 atm
|
||||||
|
|
|
||||||
|
|
@ -184,9 +184,6 @@ private:
|
||||||
|
|
||||||
//! Update boolean for the mixture rule for the mixture thermal conductivity
|
//! Update boolean for the mixture rule for the mixture thermal conductivity
|
||||||
bool m_condmix_ok;
|
bool m_condmix_ok;
|
||||||
|
|
||||||
//! Debug flag - turns on more printing
|
|
||||||
bool m_debug;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -466,21 +466,6 @@ protected:
|
||||||
void updateDiff_T();
|
void updateDiff_T();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//! Temperature dependence type
|
|
||||||
/*!
|
|
||||||
* The following coefficients are allowed to have simple temperature
|
|
||||||
* dependencies:
|
|
||||||
* - mixture viscosity
|
|
||||||
* - mixture thermal conductivity
|
|
||||||
* - diffusitivy
|
|
||||||
*
|
|
||||||
* Types of temperature dependencies:
|
|
||||||
* 0 - Independent of temperature (only one implemented so far)
|
|
||||||
* 1 - extended arrhenius form
|
|
||||||
* 2 - polynomial in temperature form
|
|
||||||
*/
|
|
||||||
int tempDepType_;
|
|
||||||
|
|
||||||
//! Composition dependence of the transport properties
|
//! Composition dependence of the transport properties
|
||||||
/*!
|
/*!
|
||||||
* The following coefficients are allowed to have simple composition
|
* The following coefficients are allowed to have simple composition
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,7 @@ namespace Cantera
|
||||||
static const char* stars = "***********************************************************************\n";
|
static const char* stars = "***********************************************************************\n";
|
||||||
|
|
||||||
CanteraError::CanteraError(const std::string& procedure) :
|
CanteraError::CanteraError(const std::string& procedure) :
|
||||||
procedure_(procedure),
|
procedure_(procedure)
|
||||||
saved_(false)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -321,7 +321,6 @@ void MixtureFugacityTP::setState_TR(doublereal T, doublereal rho)
|
||||||
Phase::setTemperature(T);
|
Phase::setTemperature(T);
|
||||||
_updateReferenceStateThermo();
|
_updateReferenceStateThermo();
|
||||||
Phase::setDensity(rho);
|
Phase::setDensity(rho);
|
||||||
doublereal mv = molarVolume();
|
|
||||||
// depends on mole fraction and temperature
|
// depends on mole fraction and temperature
|
||||||
updateMixingExpressions();
|
updateMixingExpressions();
|
||||||
iState_ = phaseState(true);
|
iState_ = phaseState(true);
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,6 @@ int PDSS_HKFT::s_InputInconsistencyErrorExit = 1;
|
||||||
PDSS_HKFT::PDSS_HKFT()
|
PDSS_HKFT::PDSS_HKFT()
|
||||||
: m_waterSS(0)
|
: m_waterSS(0)
|
||||||
, m_densWaterSS(-1.0)
|
, m_densWaterSS(-1.0)
|
||||||
, m_born_coeff_j(-1.0)
|
|
||||||
, m_r_e_j(-1.0)
|
|
||||||
, m_deltaG_formation_tr_pr(NAN)
|
, m_deltaG_formation_tr_pr(NAN)
|
||||||
, m_deltaH_formation_tr_pr(NAN)
|
, m_deltaH_formation_tr_pr(NAN)
|
||||||
, m_Mu0_tr_pr(0.0)
|
, m_Mu0_tr_pr(0.0)
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,7 @@ namespace Cantera
|
||||||
MixTransport::MixTransport() :
|
MixTransport::MixTransport() :
|
||||||
m_lambda(0.0),
|
m_lambda(0.0),
|
||||||
m_spcond_ok(false),
|
m_spcond_ok(false),
|
||||||
m_condmix_ok(false),
|
m_condmix_ok(false)
|
||||||
m_debug(false)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ namespace Cantera
|
||||||
{
|
{
|
||||||
SimpleTransport::SimpleTransport(thermo_t* thermo, int ndim) :
|
SimpleTransport::SimpleTransport(thermo_t* thermo, int ndim) :
|
||||||
Transport(thermo, ndim),
|
Transport(thermo, ndim),
|
||||||
tempDepType_(0),
|
|
||||||
compositionDepType_(LTI_MODEL_SOLVENT),
|
compositionDepType_(LTI_MODEL_SOLVENT),
|
||||||
useHydroRadius_(false),
|
useHydroRadius_(false),
|
||||||
doMigration_(0),
|
doMigration_(0),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue