Ensure open_for_output_ flag is set to true in init().

This commit is contained in:
Atgeirr Flø Rasmussen 2019-12-13 10:59:24 +01:00
parent 87b631e15b
commit c8e1f61050

View File

@ -63,7 +63,7 @@ namespace Opm
const int nw = wells_ecl.size();
// const int np = wells->number_of_phases;
const int np = pu.num_phases;
open_for_output_.resize(nw, true);
open_for_output_.assign(nw, true);
bhp_.resize(nw, 0.0);
thp_.resize(nw, 0.0);
temperature_.resize(nw, 273.15 + 20); // standard temperature for now