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
746b409f
Commit
746b409f
authored
Oct 27, 2021
by
Kilian Weishaupt
Browse files
[staggered][fvElementGeometry] Use fixed index map for lateralOrthogonal scvf
parent
fe2e313f
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/facecentered/staggered/fvelementgeometry.hh
View file @
746b409f
...
@@ -79,7 +79,9 @@ public:
...
@@ -79,7 +79,9 @@ public:
const
SubControlVolumeFace
&
lateralOrthogonalScvf
(
const
SubControlVolumeFace
&
scvf
)
const
const
SubControlVolumeFace
&
lateralOrthogonalScvf
(
const
SubControlVolumeFace
&
scvf
)
const
{
{
assert
(
scvf
.
isLateral
());
assert
(
scvf
.
isLateral
());
return
gridGeometry
().
scvf
(
gridGeometry
().
lateralOrthogonalScvf
(
scvf
));
const
auto
otherGlobalIdx
=
scvfIndices_
()[
GridGeometry
::
GeometryHelper
::
lateralOrthogonalScvfLocalIndex
(
scvf
.
localIndex
())];
return
gridGeometry
().
scvf
(
otherGlobalIdx
);
}
}
//! Return the frontal sub control volume face on a the boundary for a given sub control volume
//! Return the frontal sub control volume face on a the boundary for a given sub control volume
...
...
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