BUGFIX. Call setupGuideRates before groupcontrol is applied

This commit is contained in:
Tor Harald Sandve
2016-03-31 09:32:09 +02:00
parent 734fbfc38d
commit 0f6a821903
+2 -1
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