mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Removed pyramid cells when members of a coarse cell
p4#: 20357
This commit is contained in:
parent
87a120dc39
commit
69d8739c6c
@ -169,7 +169,7 @@ bool transferGridCellData(RigMainGrid* mainGrid, RigGridBase* localGrid, const e
|
||||
}
|
||||
|
||||
// Mark inactive long pyramid looking cells as invalid
|
||||
if (!cell.isActiveInMatrixModel() && !cell.isActiveInFractureModel() && !invalid)
|
||||
if (!invalid && (cell.isInCoarseCell() || (!cell.isActiveInMatrixModel() && !cell.isActiveInFractureModel()) ) )
|
||||
{
|
||||
cell.setInvalid(cell.isLongPyramidCell());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user