Commit 0273ac12 authored by Timo Koch's avatar Timo Koch
Browse files

[box] Add outsideScvIdx==insideScvIdx to scvfs

parent c709af2c
......@@ -325,9 +325,8 @@ private:
for (unsigned int isScvfLocalIdx = 0; isScvfLocalIdx < isGeometry.corners(); ++isScvfLocalIdx)
{
// find the scv this scvf is connected to
std::vector<IndexType> localScvIndices =
{static_cast<IndexType>(referenceElement.subEntity(intersection.indexInInside(), 1,
isScvfLocalIdx, dim))};
IndexType insideScvIdx = static_cast<IndexType>(referenceElement.subEntity(intersection.indexInInside(), 1, isScvfLocalIdx, dim));
std::vector<IndexType> localScvIndices = {insideScvIdx, insideScvIdx};
scvfs_.emplace_back(geometryHelper,
intersection,
......
......@@ -169,9 +169,8 @@ public:
for (unsigned int isScvfLocalIdx = 0; isScvfLocalIdx < isGeometry.corners(); ++isScvfLocalIdx)
{
// find the scvs this scvf is belonging to
std::vector<IndexType> localScvIndices =
{static_cast<IndexType>(referenceElement.subEntity(intersection.indexInInside(), 1,
isScvfLocalIdx, dim))};
IndexType insideScvIdx = static_cast<IndexType>(referenceElement.subEntity(intersection.indexInInside(), 1, isScvfLocalIdx, dim));
std::vector<IndexType> localScvIndices = {insideScvIdx, insideScvIdx};
scvfs_[eIdx].emplace_back(geometryHelper,
intersection,
......
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