mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #5828 from aritorto/rmIf
Unnecessary check isInterior
This commit is contained in:
@@ -498,8 +498,7 @@ public:
|
||||
|
||||
Scalar dofVolume = stencil.subControlVolume(dofIdx).volume();
|
||||
dofTotalVolume_[globalIdx] += dofVolume;
|
||||
if (isInteriorElement)
|
||||
gridTotalVolume_ += dofVolume;
|
||||
gridTotalVolume_ += dofVolume;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user