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-lecture
Commits
7bbda88d
Commit
7bbda88d
authored
Feb 11, 2016
by
Martin Schneider
Browse files
[colxylene] Slight correction
parent
76f61867
Changes
1
Hide whitespace changes
Inline
Side-by-side
lecture/mm/columnxylene/columnxyleneproblem2.hh
View file @
7bbda88d
...
...
@@ -291,7 +291,7 @@ private:
values
[
switch1Idx
]
=
0.005
;
}
else
{
values
[
switch1Idx
]
=
0.005
;
if
((
y
<
=
0.3
-
0.001
+
eps_
)
&&
(
y
>
0.3
-
0.0148
-
eps_
))
values
[
switch2Idx
]
=
0
+
((
0.3
-
y
)
/
0.0148
)
*
0.112
;
if
((
y
<
0.3
-
0.001
+
eps_
)
&&
(
y
>
0.3
-
0.0148
-
eps_
))
values
[
switch2Idx
]
=
0
+
((
0.3
-
y
)
/
0.0148
)
*
0.112
;
if
((
y
<
0.3
-
0.0148
-
eps_
)
&&
(
y
>
0.3
-
0.0296
-
eps_
))
values
[
switch2Idx
]
=
0.112
+
(((
0.3
-
y
)
-
0.0148
)
/
0.0148
)
*
(
0.120
-
0.112
);
if
((
y
<
0.3
-
0.0296
-
eps_
)
&&
(
y
>
0.3
-
0.0444
-
eps_
))
values
[
switch2Idx
]
=
0.120
+
(((
0.3
-
y
)
-
0.0296
)
/
0.0148
)
*
(
0.125
-
0.120
);
if
((
y
<
0.3
-
0.0444
-
eps_
)
&&
(
y
>
0.3
-
0.0592
-
eps_
))
values
[
switch2Idx
]
=
0.125
+
(((
0.3
-
y
)
-
0.0444
)
/
0.0148
)
*
(
0.137
-
0.125
);
...
...
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