Fracture Containment : Simplify logic

This commit is contained in:
Magne Sjaastad 2018-09-13 11:50:24 +02:00
parent 6fc0196e84
commit d40f36e574

View File

@ -100,11 +100,7 @@ bool RimFractureContainment::isEclipseCellOpenForFlow(const RigMainGrid* ma
if (m_truncateAtFaults())
{
if (reservoirCellIndicesOpenForFlow.count(globalCellIndex) > 0)
{
return true;
}
else
if (reservoirCellIndicesOpenForFlow.count(globalCellIndex) == 0)
{
return false;
}