OPM/opm-autodiff — pull request #124 by atgeirr (2014-04-23 11:13:14+00:00)
Title: Changed well variable updating

With this, the well unknowns (bottom hole pressure and well phase rates) are updated immediately when the controls change due to constraints being broken. For example if a well is switching to bhp control, its bhp value will be immediately set to the target value, before the well flow and control equations are computed.