Commit 7d845bf0 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'cleanup/gas-visc' into 'master'

[components] Remove unused bool argument from gasViscosity

See merge request !2719
parents 25169290 b807b3fa
Pipeline #6199 passed with stages
in 0 seconds
......@@ -401,9 +401,8 @@ public:
*
* \param temperature temperature of component in \f$\mathrm{[K]}\f$
* \param pressure pressure of component in \f$\mathrm{[Pa]}\f$
* \param regularize defines, if the functions is regularized or not, set to true by default
*/
static Scalar gasViscosity(Scalar temperature, Scalar pressure, bool regularize=true)
static Scalar gasViscosity(Scalar temperature, Scalar pressure)
{
using std::clamp;
temperature = clamp(temperature, 250.0, 500.0); // regularization
......
......@@ -278,9 +278,8 @@ public:
*
* \param temperature temperature of component in \f$\mathrm{[K]}\f$
* \param pressure pressure of component in \f$\mathrm{[Pa]}\f$
* \param regularize defines, if the functions is regularized or not, set to true by default
*/
static Scalar gasViscosity(Scalar temperature, Scalar pressure, bool regularize=true)
static Scalar gasViscosity(Scalar temperature, Scalar pressure)
{
using std::min;
using std::max;
......
......@@ -289,9 +289,8 @@ public:
*
* \param temperature temperature of component in \f$\mathrm{[K]}\f$
* \param pressure pressure of component in \f$\mathrm{[Pa]}\f$
* \param regularize defines, if the functions is regularized or not, set to true by default
*/
static Scalar gasViscosity(Scalar temperature, Scalar pressure, bool regularize=true)
static Scalar gasViscosity(Scalar temperature, Scalar pressure)
{
return 1e-05;
}
......
......@@ -324,9 +324,8 @@ public:
*
* \param temp temperature of component in \f$\mathrm{[K]}\f$
* \param pressure pressure of component in \f$\mathrm{[Pa]}\f$
* \param regularize defines, if the functions is regularized or not, set to true by default
*/
static Scalar gasViscosity(Scalar temp, Scalar pressure, bool regularize=true)
static Scalar gasViscosity(Scalar temp, Scalar pressure)
{
using std::min;
using std::max;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment