diff --git a/include/cantera/thermo/DebyeHuckel.h b/include/cantera/thermo/DebyeHuckel.h index 786b1ff20..8ac9a8fbd 100644 --- a/include/cantera/thermo/DebyeHuckel.h +++ b/include/cantera/thermo/DebyeHuckel.h @@ -1029,46 +1029,6 @@ public: //@} - //! Set the equation of state parameters - /*! - * @internal - * The number and meaning of these depends on the subclass. - * - * @param n number of parameters - * @param c array of \a n coefficients - */ - virtual void setParameters(int n, doublereal* const c); - - //! Get the equation of state parameters in a vector - /*! - * @internal - * The number and meaning of these depends on the subclass. - * - * @param n number of parameters - * @param c array of \a n coefficients - */ - virtual void getParameters(int& n, doublereal* const c) const; - - //! Set equation of state parameter values from XML entries. - /*! - * - * This method is called by function importPhase() in - * file importCTML.cpp when processing a phase definition in - * an input file. It should be overloaded in subclasses to set - * any parameters that are specific to that particular phase - * model. Note, this method is called before the phase is - * initialized with elements and/or species. - * - * HKM -> Right now, the parameters are set elsewhere (initThermoXML) - * It just didn't seem to fit. - * - * @param eosdata An XML_Node object corresponding to - * the "thermo" entry for this phase in the input file. - */ - virtual void setParametersFromXML(const XML_Node& eosdata); - - //@} - /* * -------------- Utilities ------------------------------- */ diff --git a/include/cantera/thermo/HMWSoln.h b/include/cantera/thermo/HMWSoln.h index 3234a9d1a..1edb685cf 100644 --- a/include/cantera/thermo/HMWSoln.h +++ b/include/cantera/thermo/HMWSoln.h @@ -1858,43 +1858,6 @@ public: //@} - //! Set the equation of state parameters - /*! - * @internal - * The number and meaning of these depends on the subclass. - * - * @param n number of parameters - * @param c array of \a n coefficients - */ - virtual void setParameters(int n, doublereal* const c); - - //! Get the equation of state parameters in a vector - /*! - * @internal - * The number and meaning of these depends on the subclass. - * - * @param n number of parameters - * @param c array of \a n coefficients - */ - virtual void getParameters(int& n, doublereal* const c) const; - - //! Set equation of state parameter values from XML - //! entries. - /*! - * This method is called by function importPhase in - * file importCTML.cpp when processing a phase definition in - * an input file. It should be overloaded in subclasses to set - * any parameters that are specific to that particular phase - * model. - * - * HKM -> Right now, the parameters are set elsewhere (initThermoXML) - * It just didn't seem to fit. - * - * @param eosdata An XML_Node object corresponding to - * the "thermo" entry for this phase in the input file. - */ - virtual void setParametersFromXML(const XML_Node& eosdata); - //! Get the saturation pressure for a given temperature. /*! * Note the limitations of this function. Stability considerations diff --git a/include/cantera/thermo/IdealMolalSoln.h b/include/cantera/thermo/IdealMolalSoln.h index 85eb58f94..5de25753e 100644 --- a/include/cantera/thermo/IdealMolalSoln.h +++ b/include/cantera/thermo/IdealMolalSoln.h @@ -579,41 +579,6 @@ public: //@} - /** - * @internal - * Set equation of state parameters. The number and meaning of - * these depends on the subclass. - * @param n number of parameters - * @param c array of n coefficients - */ - virtual void setParameters(int n, doublereal* const c); - - /*! - * @internal - * Get the parameters used to initialize the phase. - * - * @param n number of parameters (output) - * @param c array of n coefficients - */ - virtual void getParameters(int& n, doublereal* const c) const; - - /*! - * Set equation of state parameter values from XML - * entries. This method is called by function importPhase in - * file importCTML.cpp when processing a phase definition in - * an input file. It should be overloaded in subclasses to set - * any parameters that are specific to that particular phase - * model. - * - * HKM -> Right now, the parameters are set elsewhere (initThermo) - * It just didn't seem to fit. - * - * - * @param eosdata An XML_Node object corresponding to - * the "thermo" entry for this phase in the input file. - */ - virtual void setParametersFromXML(const XML_Node& eosdata); - /* * -------------- Utilities ------------------------------- */ diff --git a/include/cantera/thermo/SingleSpeciesTP.h b/include/cantera/thermo/SingleSpeciesTP.h index 4728507b0..780a65e9c 100644 --- a/include/cantera/thermo/SingleSpeciesTP.h +++ b/include/cantera/thermo/SingleSpeciesTP.h @@ -451,33 +451,6 @@ public: */ virtual void setState_SV(doublereal s, doublereal v, doublereal tol = 1.e-8); - - /** - * @internal - * Set equation of state parameters. The number and meaning of - * these depends on the subclass. - * @param n number of parameters - * @param c array of n coefficients - */ - virtual void setParameters(int n, doublereal* const c) { - } - - virtual void getParameters(int& n, doublereal* const c) const { - } - - /** - * Set equation of state parameter values from XML - * entries. This method is called by function importPhase in - * file importCTML.cpp when processing a phase definition in - * an input file. It should be overloaded in subclasses to set - * any parameters that are specific to that particular phase - * model. - * - * @param eosdata An XML_Node object corresponding to - * the "thermo" entry for this phase in the input file. - */ - virtual void setParametersFromXML(const XML_Node& eosdata) {} - //@} /** diff --git a/include/cantera/thermo/VPStandardStateTP.h b/include/cantera/thermo/VPStandardStateTP.h index d7d61982e..29f054d2d 100644 --- a/include/cantera/thermo/VPStandardStateTP.h +++ b/include/cantera/thermo/VPStandardStateTP.h @@ -470,19 +470,6 @@ public: */ //@{ - /** - * Set equation of state parameter values from XML - * entries. This method is called by function importPhase in - * file importCTML.cpp when processing a phase definition in - * an input file. It should be overloaded in subclasses to set - * any parameters that are specific to that particular phase - * model. - * - * @param eosdata An XML_Node object corresponding to - * the "thermo" entry for this phase in the input file. - */ - virtual void setParametersFromXML(const XML_Node& eosdata) {} - virtual void initThermo(); //! Initialize a ThermoPhase object, potentially reading activity diff --git a/src/thermo/DebyeHuckel.cpp b/src/thermo/DebyeHuckel.cpp index 567ac0853..c16add358 100644 --- a/src/thermo/DebyeHuckel.cpp +++ b/src/thermo/DebyeHuckel.cpp @@ -1085,18 +1085,6 @@ void DebyeHuckel::initThermoXML(XML_Node& phaseNode, const std::string& id_) } -void DebyeHuckel::setParameters(int n, doublereal* const c) -{ -} - -void DebyeHuckel::getParameters(int& n, doublereal* const c) const -{ -} - -void DebyeHuckel::setParametersFromXML(const XML_Node& eosdata) -{ -} - double DebyeHuckel::A_Debye_TP(double tempArg, double presArg) const { double T = temperature(); diff --git a/src/thermo/HMWSoln.cpp b/src/thermo/HMWSoln.cpp index 3c7668258..8ba147c9e 100644 --- a/src/thermo/HMWSoln.cpp +++ b/src/thermo/HMWSoln.cpp @@ -983,18 +983,6 @@ void HMWSoln::getPartialMolarCp(doublereal* cpbar) const * -------------- Utilities ------------------------------- */ -void HMWSoln::setParameters(int n, doublereal* const c) -{ -} - -void HMWSoln::getParameters(int& n, doublereal* const c) const -{ -} - -void HMWSoln::setParametersFromXML(const XML_Node& eosdata) -{ -} - doublereal HMWSoln::satPressure(doublereal t) { double p_old = pressure(); double t_old = temperature(); diff --git a/src/thermo/IdealMolalSoln.cpp b/src/thermo/IdealMolalSoln.cpp index 713ea63ce..7b4acb85c 100644 --- a/src/thermo/IdealMolalSoln.cpp +++ b/src/thermo/IdealMolalSoln.cpp @@ -662,18 +662,6 @@ void IdealMolalSoln::initThermoXML(XML_Node& phaseNode, const std::string& id_) } -void IdealMolalSoln::setParameters(int n, doublereal* const c) -{ -} - -void IdealMolalSoln::getParameters(int& n, doublereal* const c) const -{ -} - -void IdealMolalSoln::setParametersFromXML(const XML_Node& eosdata) -{ -} - /* * ------------ Private and Restricted Functions ------------------ */