From 2bedc2df3cf95f14db4011849db556115d9f50b7 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Sun, 30 Oct 2016 18:42:00 +0100 Subject: [PATCH] EclFluxModule: fix bug in comment --- applications/ebos/eclfluxmodule.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/applications/ebos/eclfluxmodule.hh b/applications/ebos/eclfluxmodule.hh index 940e0d63f..8f6371bb5 100644 --- a/applications/ebos/eclfluxmodule.hh +++ b/applications/ebos/eclfluxmodule.hh @@ -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);