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
e363249f
Commit
e363249f
authored
Mar 10, 2021
by
Timo Koch
Browse files
[simpleh20][cleanup] Remove superfluous Scalar constructor
parent
f5387518
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/material/components/simpleh2o.hh
View file @
e363249f
...
...
@@ -121,9 +121,9 @@ public:
const
Scalar
C
=
(
n
[
5
]
*
sigma
+
n
[
6
])
*
sigma
+
n
[
7
];
using
std
::
sqrt
;
const
Scalar
term
=
Scalar
(
2.0
)
*
C
/
(
sqrt
(
B
*
B
-
Scalar
(
4.0
)
*
A
*
C
)
-
B
);
const
Scalar
term
=
2.0
*
C
/
(
sqrt
(
B
*
B
-
4.0
*
A
*
C
)
-
B
);
return
Scalar
(
1e6
)
*
term
*
term
*
term
*
term
;
return
1e6
*
term
*
term
*
term
*
term
;
}
/*!
...
...
Write
Preview
Supports
Markdown
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