diff --git a/ebos/eclproblem.hh b/ebos/eclproblem.hh index 43ab9a41a..29cbb009a 100644 --- a/ebos/eclproblem.hh +++ b/ebos/eclproblem.hh @@ -1791,6 +1791,9 @@ public: unsigned spaceIdx, unsigned timeIdx) const { + if(!context.intersection(spaceIdx).boundary()) + return; + if (!enableEnergy || !enableThermalFluxBoundaries) values.setNoFlow(); else {