diff --git a/opm/core/simulator/initStateEquil.hpp b/opm/core/simulator/initStateEquil.hpp index 2b4b02b1f..b03d488a0 100644 --- a/opm/core/simulator/initStateEquil.hpp +++ b/opm/core/simulator/initStateEquil.hpp @@ -37,6 +37,7 @@ #include #include #include +#include #include #include @@ -393,6 +394,8 @@ namespace Opm const auto& cells = reg.cells(r); if (cells.empty()) { + OpmLog::warning("Equilibration region " + std::to_string(r + 1) + + " has no active cells"); continue; } const int repcell = *cells.begin();