Restart well - store allow xlflow in bool
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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]),
|
||||
|
||||
Reference in New Issue
Block a user