mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
#3709 Fracture : Mix of both main grid and LGR cells when computing completion data
This commit is contained in:
1 parent
42d3e65416
commit
212f80f92e
1 file changed
+11
-1
+11
-1
@@ -332,7 +332,17 @@ std::vector<size_t> RigEclipseToStimPlanCellTransmissibilityCalculator::getPoten
|
||||
|
||||
mainGrid->findIntersectingCells(polygonBBox, &cellIndices);
|
||||
|
||||
return cellIndices;
|
||||
std::vector<size_t> cellIndicesToLeafCells;
|
||||
for (const size_t& index : cellIndices)
|
||||
{
|
||||
const RigCell& cell = mainGrid->globalCellArray()[index];
|
||||
if (!cell.subGrid())
|
||||
{
|
||||
cellIndicesToLeafCells.push_back(index);
|
||||
}
|
||||
}
|
||||
|
||||
return cellIndicesToLeafCells;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user