BUGFIX. Call setupGuideRates before groupcontrol is applied

This commit is contained in:
Tor Harald Sandve
2016-03-31 09:31:05 +02:00
parent ce6cdb4a47
commit b8bad8b26b

View File

@@ -427,10 +427,11 @@ WellsManager::init(const Opm::EclipseStateConstPtr eclipseState,
}
well_collection_.setWellsPointer(w_);
well_collection_.applyGroupControls();
setupGuideRates(wells, timeStep, well_data, well_names_to_index);
well_collection_.applyGroupControls();
// Debug output.
#define EXTRA_OUTPUT
#ifdef EXTRA_OUTPUT