mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix GPMAINT for groups without control
If GPMAINT is used the group does not need a valid control object
This commit is contained in:
@@ -189,7 +189,8 @@ getGroupProductionTargetRate(const Group& group,
|
||||
const GroupState& group_state,
|
||||
const Schedule& schedule,
|
||||
const SummaryState& summaryState,
|
||||
double efficiencyFactor) const
|
||||
double efficiencyFactor,
|
||||
DeferredLogger& deferred_logger) const
|
||||
{
|
||||
auto rCoeff = [this](const int id, const int region, std::vector<double>& coeff)
|
||||
{
|
||||
@@ -199,7 +200,8 @@ getGroupProductionTargetRate(const Group& group,
|
||||
return WellGroupControls(*this).getGroupProductionTargetRate(group, well_state,
|
||||
group_state, schedule,
|
||||
summaryState,
|
||||
rCoeff, efficiencyFactor);
|
||||
rCoeff, efficiencyFactor,
|
||||
deferred_logger);
|
||||
}
|
||||
|
||||
template class WellInterfaceFluidSystem<BlackOilFluidSystem<double,BlackOilDefaultIndexTraits>>;
|
||||
|
||||
Reference in New Issue
Block a user