Restart well - store allow xlflow in bool

This commit is contained in:
Joakim Hove
2020-02-13 18:05:38 +01:00
parent 7da79ae532
commit 9e72cd3c82
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ struct RstWell {
int active_control;
int vfp_table;
int pred_requested_control;
int xflow;
bool allow_xflow;
int hist_requested_control;
int msw_index;
int completion_ordering;

View File

@@ -53,7 +53,7 @@ RstWell::RstWell(const ::Opm::UnitSystem& unit_system,
active_control( iwel[VI::IWell::ActWCtrl]),
vfp_table( iwel[VI::IWell::VFPTab]),
pred_requested_control( iwel[VI::IWell::PredReqWCtrl]),
xflow( iwel[VI::IWell::XFlow]),
allow_xflow( iwel[VI::IWell::XFlow] == 1),
hist_requested_control( iwel[VI::IWell::HistReqWCtrl]),
msw_index( iwel[VI::IWell::MsWID]),
completion_ordering( iwel[VI::IWell::CompOrd]),