Fixes comments from PR

Don't sum ghost cells in the RateConverter
Some cleaning and comments.
This commit is contained in:
Tor Harald Sandve
2017-08-18 08:37:25 +02:00
parent 6bca2ea69c
commit 6146190844
3 changed files with 22 additions and 15 deletions

View File

@@ -485,7 +485,11 @@ namespace Opm {
elemIt != elemEndIt;
++elemIt)
{
const auto& elem = *elemIt;
if (elem.partitionType() != Dune::InteriorEntity)
continue;
elemCtx.updatePrimaryStencil(elem);
elemCtx.updatePrimaryIntensiveQuantities(/*timeIdx=*/0);
const auto& intQuants = elemCtx.intensiveQuantities(/*spaceIdx=*/0, /*timeIdx=*/0);