doxygen update
This commit is contained in:
parent
039b01cbe3
commit
d1e27613c3
2 changed files with 26 additions and 2 deletions
|
|
@ -138,6 +138,18 @@ namespace Cantera {
|
|||
return (dynamic_cast<Transport *>(tr));
|
||||
}
|
||||
//====================================================================================================================
|
||||
// Set the Parameters in the model
|
||||
/*
|
||||
* @param type Type of the parameter to set
|
||||
* 0 - porosity
|
||||
* 1 - tortuosity
|
||||
* 2 - mean pore radius
|
||||
* 3 - mean particle radius
|
||||
* 4 - permeability
|
||||
* @param k Unused int
|
||||
* @param p pointer to double for the input list of parameters
|
||||
*
|
||||
*/
|
||||
void DustyGasTransport::setParameters(const int type, const int k, const doublereal* const p) {
|
||||
switch(type) {
|
||||
case 0:
|
||||
|
|
@ -151,8 +163,7 @@ namespace Cantera {
|
|||
case 4:
|
||||
setPermeability(p[0]); break;
|
||||
default:
|
||||
throw CanteraError("DustyGasTransport::init",
|
||||
"unknown parameter");
|
||||
throw CanteraError("DustyGasTransport::init", "unknown parameter");
|
||||
}
|
||||
}
|
||||
//====================================================================================================================
|
||||
|
|
|
|||
|
|
@ -110,6 +110,19 @@ namespace Cantera {
|
|||
|
||||
virtual int model() const { return cDustyGasTransport; }
|
||||
|
||||
|
||||
//! Set the Parameters in the model
|
||||
/*!
|
||||
* @param type Type of the parameter to set
|
||||
* 0 - porosity
|
||||
* 1 - tortuosity
|
||||
* 2 - mean pore radius
|
||||
* 3 - mean particle radius
|
||||
* 4 - permeability
|
||||
* @param k Unused int
|
||||
* @param p pointer to double for the input list of parameters
|
||||
*
|
||||
*/
|
||||
virtual void setParameters(const int type, const int k, const doublereal* const p);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue