mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
check groups from top
This commit is contained in:
parent
2a0f8a0465
commit
bec8b33f70
@ -1684,12 +1684,7 @@ namespace Opm {
|
|||||||
BlackoilWellModel<TypeTag>::
|
BlackoilWellModel<TypeTag>::
|
||||||
checkGroupConstraints(const Group& group, Opm::DeferredLogger& deferred_logger) {
|
checkGroupConstraints(const Group& group, Opm::DeferredLogger& deferred_logger) {
|
||||||
|
|
||||||
// call recursively
|
|
||||||
const int reportStepIdx = ebosSimulator_.episodeIndex();
|
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();
|
const auto& summaryState = ebosSimulator_.vanguard().summaryState();
|
||||||
auto& well_state = well_state_;
|
auto& well_state = well_state_;
|
||||||
|
|
||||||
@ -1879,6 +1874,10 @@ namespace Opm {
|
|||||||
//neither production or injecting group FIELD?
|
//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