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,
|
||||
const Args&... args)
|
||||
: procedure_(procedure)
|
||||
, saved_(false)
|
||||
{
|
||||
if (sizeof...(args) == 0) {
|
||||
msg_ = msg;
|
||||
|
|
@ -105,7 +104,7 @@ public:
|
|||
protected:
|
||||
//! Protected default constructor discourages throwing errors containing no
|
||||
//! information.
|
||||
CanteraError() : saved_(false) {};
|
||||
CanteraError() {};
|
||||
|
||||
//! Constructor used by derived classes that override getMessage()
|
||||
explicit CanteraError(const std::string& procedure);
|
||||
|
|
@ -116,7 +115,6 @@ protected:
|
|||
|
||||
private:
|
||||
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
|
||||
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)
|
||||
/*!
|
||||
* Tr = 298.15 Pr = 1 atm
|
||||
|
|
|
|||
|
|
@ -184,9 +184,6 @@ private:
|
|||
|
||||
//! Update boolean for the mixture rule for the mixture thermal conductivity
|
||||
bool m_condmix_ok;
|
||||
|
||||
//! Debug flag - turns on more printing
|
||||
bool m_debug;
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -466,21 +466,6 @@ protected:
|
|||
void updateDiff_T();
|
||||
|
||||
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
|
||||
/*!
|
||||
* The following coefficients are allowed to have simple composition
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ namespace Cantera
|
|||
static const char* stars = "***********************************************************************\n";
|
||||
|
||||
CanteraError::CanteraError(const std::string& procedure) :
|
||||
procedure_(procedure),
|
||||
saved_(false)
|
||||
procedure_(procedure)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -321,7 +321,6 @@ void MixtureFugacityTP::setState_TR(doublereal T, doublereal rho)
|
|||
Phase::setTemperature(T);
|
||||
_updateReferenceStateThermo();
|
||||
Phase::setDensity(rho);
|
||||
doublereal mv = molarVolume();
|
||||
// depends on mole fraction and temperature
|
||||
updateMixingExpressions();
|
||||
iState_ = phaseState(true);
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@ int PDSS_HKFT::s_InputInconsistencyErrorExit = 1;
|
|||
PDSS_HKFT::PDSS_HKFT()
|
||||
: m_waterSS(0)
|
||||
, m_densWaterSS(-1.0)
|
||||
, m_born_coeff_j(-1.0)
|
||||
, m_r_e_j(-1.0)
|
||||
, m_deltaG_formation_tr_pr(NAN)
|
||||
, m_deltaH_formation_tr_pr(NAN)
|
||||
, m_Mu0_tr_pr(0.0)
|
||||
|
|
|
|||
|
|
@ -16,8 +16,7 @@ namespace Cantera
|
|||
MixTransport::MixTransport() :
|
||||
m_lambda(0.0),
|
||||
m_spcond_ok(false),
|
||||
m_condmix_ok(false),
|
||||
m_debug(false)
|
||||
m_condmix_ok(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ namespace Cantera
|
|||
{
|
||||
SimpleTransport::SimpleTransport(thermo_t* thermo, int ndim) :
|
||||
Transport(thermo, ndim),
|
||||
tempDepType_(0),
|
||||
compositionDepType_(LTI_MODEL_SOLVENT),
|
||||
useHydroRadius_(false),
|
||||
doMigration_(0),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue