diff --git a/Cantera/src/transport/DustyGasTransport.cpp b/Cantera/src/transport/DustyGasTransport.cpp index 95c185e7c..a6d3cd404 100644 --- a/Cantera/src/transport/DustyGasTransport.cpp +++ b/Cantera/src/transport/DustyGasTransport.cpp @@ -138,6 +138,18 @@ namespace Cantera { return (dynamic_cast(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"); } } //==================================================================================================================== diff --git a/Cantera/src/transport/DustyGasTransport.h b/Cantera/src/transport/DustyGasTransport.h index 89315d4e3..2a9e96813 100644 --- a/Cantera/src/transport/DustyGasTransport.h +++ b/Cantera/src/transport/DustyGasTransport.h @@ -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);