#1574 Make export of fractures to compdat now respects the containment settings

This commit is contained in:
Jacob Støren
2017-06-20 16:35:06 +02:00
parent d63fdf0c80
commit 5a02cf1498
2 changed files with 119 additions and 73 deletions

View File

@@ -96,8 +96,15 @@ bool RimFractureContainment::isEclipseCellWithinContainment(const RigMainGrid* m
bool ok = mainGrid->ijkFromCellIndex(globalCellIndex, &i, &j, &k);
if (k <= m_topKLayer()) return false;
if (k >= m_baseKLayer()) return false;
if (k+1 <= m_topKLayer())
{
return false;
}
if (k+1 >= m_baseKLayer())
{
return false;
}
// Todo: use fault propagation mode