mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
#1574 Make export of fractures to compdat now respects the containment settings
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user