Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
b807b3fa
Commit
b807b3fa
authored
Jul 20, 2021
by
Kilian Weishaupt
Browse files
[components] Remove unused bool argument from gasViscosity
parent
25169290
Changes
4
Hide whitespace changes
Inline
Side-by-side
dumux/material/components/heavyoil.hh
View file @
b807b3fa
...
...
@@ -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
...
...
dumux/material/components/mesitylene.hh
View file @
b807b3fa
...
...
@@ -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
;
...
...
dumux/material/components/simpleh2o.hh
View file @
b807b3fa
...
...
@@ -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
;
}
...
...
dumux/material/components/xylene.hh
View file @
b807b3fa
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment