Skip to content
GitLab
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
6f320a70
Commit
6f320a70
authored
Aug 29, 2019
by
Timo Koch
Committed by
Dennis Gläser
Sep 02, 2019
Browse files
[vangenuchten] Improve doc
parent
7e3e2ad7
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/material/fluidmatrixinteractions/2p/regularizedvangenuchten.hh
View file @
6f320a70
...
...
@@ -356,15 +356,14 @@ public:
// phase from the parameters
const
Scalar
swThHigh
=
params
.
krwHighSw
();
// derivative of the regu
a
larization
if
(
swe
<
0
)
{
// the slope is zero
// derivative of the regularization
// the slope is zero below sw=0.0 and above sw=1.0
if
(
swe
<
0
)
return
0.0
;
}
else
if
(
swe
>
1
-
std
::
numeric_limits
<
Scalar
>::
epsilon
())
{
// the slope is zero
else
if
(
swe
>
1
-
std
::
numeric_limits
<
Scalar
>::
epsilon
())
return
0.0
;
}
// for high sw we need the slope of the interpolation spline
else
if
(
swe
>
swThHigh
)
{
using
Spline
=
Dumux
::
Spline
<
Scalar
>
;
Spline
sp
(
swThHigh
,
1.0
,
// x1, x2
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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