Removed redundant implementation of speciesThermo() from LatticeSolidPhase

This commit is contained in:
Ray Speth 2012-08-17 16:44:07 +00:00
parent 85d9d360c7
commit 3fbf298a21
2 changed files with 0 additions and 36 deletions

View file

@ -643,17 +643,6 @@ public:
*/
void setLatticeMoleFractionsByName(int n, std::string x);
//! Return a changeable reference to the calculation manager
//! for species reference-state thermodynamic properties
/*!
* This routine returns the calculation manager for the sublattice
*
* @param k Species id. The default is -1, meaning return the default
*
* @internal
*/
virtual SpeciesThermo& speciesThermo(int k = -1);
#ifdef H298MODIFY_CAPABILITY
//! Modify the value of the 298 K Heat of Formation of one species in the phase (J kmol-1)

View file

@ -668,31 +668,6 @@ void LatticeSolidPhase::setParametersFromXML(const XML_Node& eosdata)
}
//====================================================================================================================
// Return a changeable reference to the calculation manager
// for species reference-state thermodynamic properties
/*
*
* @param k Species id. The default is -1, meaning return the default
*
* @internal
*/
SpeciesThermo& LatticeSolidPhase::speciesThermo(int k)
{
return *m_spthermo;
/*
int kk;
if (k >= 0) {
for (int n = 0; n < m_nlattice; n++) {
if (lkstart_[n+1] < k) {
kk = k - lkstart_[n];
return m_lattice[n]->speciesThermo(kk);
}
}
}
return m_lattice[0]->speciesThermo(-1);
*/
}
//====================================================================================================================
#ifdef H298MODIFY_CAPABILITY