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

This commit is contained in:
Jacob Støren committed 2017-06-20 16:37:25 +02:00
1 parent d63fdf0c80
commit 5a02cf1498
2 files changed
+119 -73

No files matched your search

@@ -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