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
1e5858f9
Commit
1e5858f9
authored
Nov 23, 2020
by
Martin Schneider
Browse files
[ffpm] Apply changes from feature/update-box-couplingdata branch
parent
012d8780
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
dumux/multidomain/boundary/stokesdarcy/box/couplingdata.hh
View file @
1e5858f9
This diff is collapsed.
Click to expand it.
dumux/multidomain/boundary/stokesdarcy/box/couplingmanager.hh
View file @
1e5858f9
This diff is collapsed.
Click to expand it.
dumux/multidomain/boundary/stokesdarcy/cellcentered/tpfa/couplingmanager.hh
View file @
1e5858f9
...
...
@@ -102,6 +102,11 @@ private:
std
::
size_t
darcyScvfIdx
;
std
::
size_t
stokesScvfIdx
;
VolumeVariables
<
porousMediumIdx
>
volVars
;
auto
permeability
()
const
{
return
volVars
.
permeability
();
}
};
struct
StationaryDarcyCouplingContext
...
...
dumux/multidomain/boundary/stokesdarcy/couplingdata.hh
View file @
1e5858f9
...
...
@@ -284,7 +284,7 @@ public:
Scalar
darcyPermeability
(
const
Element
<
freeFlowIdx
>&
element
,
const
SubControlVolumeFace
<
freeFlowIdx
>&
scvf
)
const
{
const
auto
&
stokesContext
=
couplingManager
().
stokesCouplingContext
(
element
,
scvf
);
const
auto
perm
=
stokesContext
.
volVars
.
permeability
();
const
auto
perm
=
stokesContext
.
permeability
();
return
perm
;
}
...
...
@@ -297,7 +297,7 @@ public:
Scalar
darcyPermeability
(
const
Element
<
freeFlowIdx
>&
element
,
const
SubControlVolumeFace
<
freeFlowIdx
>&
scvf
)
const
{
const
auto
&
stokesContext
=
couplingManager
().
stokesCouplingContext
(
element
,
scvf
);
const
auto
perm
=
stokesContext
.
volVars
.
permeability
();
const
auto
perm
=
stokesContext
.
permeability
();
const
auto
dirIdx
=
1
-
scvf
.
directionIndex
();
return
perm
[
dirIdx
][
dirIdx
];
...
...
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