mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Only update intensiveQuantities for perforated cells
This commit is contained in:
parent
3a38b9fe53
commit
54e33a00d2
@ -1367,7 +1367,13 @@ namespace Opm {
|
||||
elemIt != elemEndIt;
|
||||
++elemIt)
|
||||
{
|
||||
|
||||
elemCtx.updatePrimaryStencil(*elemIt);
|
||||
int elemIdx = elemCtx.globalSpaceIndex(0, 0);
|
||||
|
||||
if (!is_cell_perforated_[elemIdx]) {
|
||||
continue;
|
||||
}
|
||||
elemCtx.updatePrimaryIntensiveQuantities(/*timeIdx=*/0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user