Commit c67c8ac5 authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[box][fvelemgeom] reuse element index instead of obtaining twice

parent f76a9643
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment