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
4b774a52
Commit
4b774a52
authored
Oct 04, 2018
by
Martin Schneider
Browse files
[impes] Fix pressure volVars update
parent
cb8b5fe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/porousmediumflow/2p/sequential/pressure/volumevariables.hh
View file @
4b774a52
...
...
@@ -174,7 +174,7 @@ public:
fluidState
.
setSaturation
(
wPhaseIdx
,
sw_
);
fluidState
.
setSaturation
(
nPhaseIdx
,
1
-
sw_
);
pc_
=
MaterialLaw
::
pc
(
materialParams
,
fluidState
.
saturation
(
wPhaseIdx
));
fluidState
.
setPressure
(
nPhaseIdx
,
pw
-
pc_
);
fluidState
.
setPressure
(
nPhaseIdx
,
pw
+
pc_
);
typename
FluidSystem
::
ParameterCache
paramCache
;
...
...
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