update summary quantities even there is no wells associated with it

then it should get a zero. otherwise, the old values will be used.
This commit is contained in:
Kai Bao
2023-05-25 09:10:02 +02:00
parent ca2dbd1c09
commit b16f2ed8be

View File

@@ -2670,11 +2670,6 @@ namespace Evaluator {
static_cast<int>(sim_step), input.reg)
: std::vector<const Opm::Well*>{};
if (get_wells && wells.empty())
// Parameter depends on well information, but no active
// wells apply at this sim_step. Nothing to do.
return;
EfficiencyFactor efac{};
efac.setFactors(this->node_, input.sched, wells, sim_step);