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

[mpfa][darcyslaw] minor changes

parent 7aeb5c30
......@@ -118,15 +118,14 @@ public:
}
static Stencil stencil(const Problem& problem,
const Element& element,
const FVElementGeometry& fvGeometry,
const SubControlVolumeFace& scvf)
const Element& element,
const FVElementGeometry& fvGeometry,
const SubControlVolumeFace& scvf)
{
const auto& globalFvGeometry = problem.model().globalFvGeometry();
const bool boundary = globalFvGeometry.scvfTouchesBoundary(scvf);
// return the scv (element) indices in the interaction region
if (boundary)
if (globalFvGeometry.scvfTouchesBoundary(scvf))
return globalFvGeometry.boundaryInteractionVolumeSeed(scvf).globalScvIndices();
else
return globalFvGeometry.interactionVolumeSeed(scvf).globalScvIndices();
......
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