EclFluxModule: fix bug in comment

This commit is contained in:
Andreas Lauser 2016-10-30 18:42:00 +01:00
parent 2e0a8323f3
commit 2bedc2df3c

View File

@ -232,10 +232,10 @@ protected:
const auto &intQuantsEx = elemCtx.intensiveQuantities(exteriorDofIdx_, timeIdx);
// this is quite hacky because the dune grid interface does not provide a
// cellCenterDepth() method (so this code is specific to the OPM derived
// grids). The "good" solution would be to take the Z coordinate of the element
// centers, but since ECL seems to like to be inconsistent on that front, it
// needs to be done like here...
// cellCenterDepth() method (so we ask the problem to provide it). The "good"
// solution would be to take the Z coordinate of the element centroids, but since
// ECL seems to like to be inconsistent on that front, it needs to be done like
// here...
Scalar zIn = problem.dofCenterDepth(elemCtx, interiorDofIdx_, timeIdx);
Scalar zEx = problem.dofCenterDepth(elemCtx, exteriorDofIdx_, timeIdx);