mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-11 00:35:34 -06:00
check groups from top
This commit is contained in:
parent
2a0f8a0465
commit
bec8b33f70
@ -1684,12 +1684,7 @@ namespace Opm {
|
||||
BlackoilWellModel<TypeTag>::
|
||||
checkGroupConstraints(const Group& group, Opm::DeferredLogger& deferred_logger) {
|
||||
|
||||
// call recursively
|
||||
const int reportStepIdx = ebosSimulator_.episodeIndex();
|
||||
for (const std::string& groupName : group.groups()) {
|
||||
checkGroupConstraints( schedule().getGroup(groupName, reportStepIdx), deferred_logger);
|
||||
}
|
||||
|
||||
const auto& summaryState = ebosSimulator_.vanguard().summaryState();
|
||||
auto& well_state = well_state_;
|
||||
|
||||
@ -1879,6 +1874,10 @@ namespace Opm {
|
||||
//neither production or injecting group FIELD?
|
||||
}
|
||||
|
||||
// call recursively down the group hiearchy
|
||||
for (const std::string& groupName : group.groups()) {
|
||||
checkGroupConstraints( schedule().getGroup(groupName, reportStepIdx), deferred_logger);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user