Deprecate class MixedSolventElectrolyte
No existing tests, no known example input files, and not constructible via ThermoFactory. See #267.
This commit is contained in:
parent
6154e1b4bd
commit
2b73fe24ba
3 changed files with 7 additions and 1 deletions
|
|
@ -214,6 +214,7 @@ namespace Cantera
|
|||
* \f$k^{-1} \f$ has units of s-1.
|
||||
*
|
||||
* @ingroup thermoprops
|
||||
* @deprecated To be removed after Cantera 2.4.
|
||||
*/
|
||||
class MixedSolventElectrolyte : public MolarityIonicVPSSTP
|
||||
{
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ MixedSolventElectrolyte::MixedSolventElectrolyte() :
|
|||
formMargules_(0),
|
||||
formTempModel_(0)
|
||||
{
|
||||
warn_deprecated("class MixedSolventElectrolyte",
|
||||
"To be removed after Cantera 2.4");
|
||||
}
|
||||
|
||||
MixedSolventElectrolyte::MixedSolventElectrolyte(const std::string& inputFile,
|
||||
|
|
@ -28,6 +30,8 @@ MixedSolventElectrolyte::MixedSolventElectrolyte(const std::string& inputFile,
|
|||
formMargules_(0),
|
||||
formTempModel_(0)
|
||||
{
|
||||
warn_deprecated("class MixedSolventElectrolyte",
|
||||
"To be removed after Cantera 2.4");
|
||||
initThermoFile(inputFile, id_);
|
||||
}
|
||||
|
||||
|
|
@ -37,6 +41,8 @@ MixedSolventElectrolyte::MixedSolventElectrolyte(XML_Node& phaseRoot,
|
|||
formMargules_(0),
|
||||
formTempModel_(0)
|
||||
{
|
||||
warn_deprecated("class MixedSolventElectrolyte",
|
||||
"To be removed after Cantera 2.4");
|
||||
importPhase(phaseRoot, this);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@
|
|||
#include "cantera/thermo/DebyeHuckel.h"
|
||||
#include "cantera/thermo/IdealMolalSoln.h"
|
||||
#include "cantera/thermo/MolarityIonicVPSSTP.h"
|
||||
#include "cantera/thermo/MixedSolventElectrolyte.h"
|
||||
#include "cantera/thermo/IdealSolnGasVPSS.h"
|
||||
#include "cantera/base/stringUtils.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue