Avoid recursion above the FIELD group.

This commit is contained in:
Atgeirr Flø Rasmussen
2020-04-02 13:54:58 +02:00
parent 766d02cacc
commit d703699e62
@@ -2121,7 +2121,7 @@ namespace Opm {
std::vector<double> rates(phase_usage_.num_phases, 0.0);
const auto& comm = ebosSimulator_.vanguard().grid().comm();
const bool skip = switched_groups.count(group.name());
const bool skip = switched_groups.count(group.name()) || group.name() == "FIELD";
if (!skip && group.isInjectionGroup()) {
// Obtain rates for group.