mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1574 Make export of fractures to compdat now respects the containment settings
This commit is contained in:
@@ -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