mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
For these wells access its well_cells might read of the bounds an array if they are the last wells in the struct. Therefore we cannnot initialiue first_cell and the well control is uninitialized, to. With this commit theses wells are now detected and theor bhp, thp, and well_rates are initialized to zero.