mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Prune Unused Well State Parameter
The WellState parameter in setCmodeGroup() became unused when we
split the GroupState out of the WellState in commit e1d117c59f.
This commit is contained in:
@@ -262,7 +262,7 @@ namespace Opm {
|
||||
}
|
||||
|
||||
const Group& fieldGroup = schedule().getGroup("FIELD", timeStepIdx);
|
||||
WellGroupHelpers::setCmodeGroup(fieldGroup, schedule(), summaryState, timeStepIdx, this->wellState(), this->groupState());
|
||||
WellGroupHelpers::setCmodeGroup(fieldGroup, schedule(), summaryState, timeStepIdx, this->groupState());
|
||||
|
||||
// Compute reservoir volumes for RESV controls.
|
||||
rateConverter_ = std::make_unique<RateConverterType>(phase_usage_,
|
||||
|
||||
@@ -134,12 +134,12 @@ namespace WellGroupHelpers
|
||||
const Schedule& schedule,
|
||||
const SummaryState& summaryState,
|
||||
const int reportStepIdx,
|
||||
WellState& wellState,
|
||||
GroupState& group_state)
|
||||
{
|
||||
|
||||
for (const std::string& groupName : group.groups()) {
|
||||
setCmodeGroup(schedule.getGroup(groupName, reportStepIdx), schedule, summaryState, reportStepIdx, wellState, group_state);
|
||||
setCmodeGroup(schedule.getGroup(groupName, reportStepIdx),
|
||||
schedule, summaryState, reportStepIdx, group_state);
|
||||
}
|
||||
|
||||
// use NONE as default control
|
||||
|
||||
@@ -53,7 +53,6 @@ namespace WellGroupHelpers
|
||||
const Schedule& schedule,
|
||||
const SummaryState& summaryState,
|
||||
const int reportStepIdx,
|
||||
WellState& wellState,
|
||||
GroupState& group_state);
|
||||
|
||||
void accumulateGroupEfficiencyFactor(const Group& group,
|
||||
|
||||
Reference in New Issue
Block a user