mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Avoid recursion above the FIELD group.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user