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