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
278216ee
Commit
278216ee
authored
Mar 03, 2021
by
Timo Koch
Browse files
[richards][iofields] Do not require moleFraction interface for regular model
parent
793d5ee7
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/porousmediumflow/richards/iofields.hh
View file @
278216ee
...
...
@@ -68,7 +68,7 @@ public:
if
(
gravity
)
out
.
addVolumeVariable
([](
const
auto
&
v
){
return
v
.
pressureHead
(
FS
::
liquidPhaseIdx
);
},
IOName
::
pressureHead
());
if
(
enableWaterDiffusionInAir
)
if
constexpr
(
enableWaterDiffusionInAir
)
out
.
addVolumeVariable
([](
const
auto
&
v
){
return
v
.
moleFraction
(
FS
::
gasPhaseIdx
,
FS
::
liquidCompIdx
);
},
IOName
::
moleFraction
<
FS
>
(
FS
::
gasPhaseIdx
,
FS
::
liquidCompIdx
));
out
.
addVolumeVariable
([](
const
auto
&
v
){
return
v
.
waterContent
(
FS
::
liquidPhaseIdx
);
},
...
...
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