Merge pull request #3107 from totto82/fixBoundaryIssueAgain

adapt to changes in opm-models
This commit is contained in:
Arne Morten Kvarving 2021-03-09 14:42:57 +01:00 committed by GitHub
commit fd273f4802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1789,6 +1789,9 @@ public:
unsigned spaceIdx,
unsigned timeIdx) const
{
if(!context.intersection(spaceIdx).boundary())
return;
if (!enableEnergy || !enableThermalFluxBoundaries)
values.setNoFlow();
else {