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
c67c8ac5
Commit
c67c8ac5
authored
Nov 27, 2018
by
Dennis Gläser
Committed by
Timo Koch
Dec 09, 2018
Browse files
[box][fvelemgeom] reuse element index instead of obtaining twice
parent
f76a9643
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/box/fvelementgeometry.hh
View file @
c67c8ac5
...
...
@@ -276,7 +276,6 @@ private:
void
makeElementGeometries
(
const
Element
&
element
)
{
auto
eIdx
=
fvGridGeometry
().
elementMapper
().
index
(
element
);
hasBoundaryScvf_
=
false
;
// get the element geometry
...
...
@@ -296,7 +295,7 @@ private:
// add scv to the local container
scvs_
[
scvLocalIdx
]
=
SubControlVolume
(
geometryHelper
,
scvLocalIdx
,
eIdx
,
eIdx
_
,
dofIdxGlobal
);
}
...
...
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