mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
EclFluxModule: fix bug in comment
This commit is contained in:
parent
2e0a8323f3
commit
2bedc2df3c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user