Commit 746b409f authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[staggered][fvElementGeometry] Use fixed index map for lateralOrthogonal scvf

parent fe2e313f
......@@ -79,7 +79,9 @@ public:
const SubControlVolumeFace& lateralOrthogonalScvf(const SubControlVolumeFace& scvf) const
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
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