Deprecate Transport::setParameters
This commit is contained in:
parent
8c95ee035e
commit
27f2ccc647
5 changed files with 7 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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]);
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue