Deprecate Transport::setParameters

This commit is contained in:
Ray Speth 2013-06-24 15:22:19 +00:00
parent 8c95ee035e
commit 27f2ccc647
5 changed files with 7 additions and 1 deletions

View file

@ -103,7 +103,9 @@ public:
* 4 - permeability
* @param k Unused int
* @param p pointer to double for the input list of parameters
*
* @deprecated Use the individual methods setPorosity(),
* setTortuosity(), setMeanPoreRadius(), setMeanParticleDiameter(),
* and setPermeability()
*/
virtual void setParameters(const int type, const int k, const doublereal* const p);

View file

@ -95,6 +95,7 @@ public:
virtual void getMobilities(doublereal* const mobil);
//! @deprecated
virtual void setParameters(const int n, const int k, const doublereal* const p);
friend class TransportFactory;

View file

@ -690,6 +690,7 @@ public:
* @param k Species index to set the parameters on
* @param p Vector of parameters. The length of the vector
* varies with the parameterization
* @deprecated
*/
virtual void setParameters(const int type, const int k, const doublereal* const p);

View file

@ -110,6 +110,7 @@ void DustyGasTransport::setThermo(thermo_t& thermo)
void DustyGasTransport::setParameters(const int type, const int k, const doublereal* const p)
{
warn_deprecated("DustyGasTransport::setParameters");
switch (type) {
case 0:
setPorosity(p[0]);

View file

@ -101,6 +101,7 @@ bool SolidTransport::initSolid(SolidTransportData& tr)
void SolidTransport::setParameters(const int n, const int k, const doublereal* const p)
{
warn_deprecated("SolidTransport::setParameters");
switch (n) {
case 0: