@@ -94,20 +94,25 @@ BlackoilWellModelGeneric(Schedule& schedule,
9494 , nupcol_wgstate_(phase_usage)
9595{
9696
97- const auto numProcs = comm_.size ();
98- this ->not_on_process_ = [this , numProcs](const Well& well) {
99- if (numProcs == decltype (numProcs){1 })
100- return false ;
101-
102- // Recall: false indicates NOT active!
103- const auto value = std::make_pair (well.name (), true );
104- auto candidate = std::lower_bound (this ->parallel_well_info_ .begin (),
105- this ->parallel_well_info_ .end (),
106- value);
107-
108- return (candidate == this ->parallel_well_info_ .end ())
109- || (*candidate != value);
110- };
97+ const auto numProcs = comm_.size ();
98+ this ->not_on_process_ = [this , numProcs](const Well& well) {
99+ if (numProcs == decltype (numProcs){1 })
100+ return false ;
101+
102+ // Recall: false indicates NOT active!
103+ const auto value = std::make_pair (well.name (), true );
104+ auto candidate = std::lower_bound (this ->parallel_well_info_ .begin (),
105+ this ->parallel_well_info_ .end (),
106+ value);
107+
108+ return (candidate == this ->parallel_well_info_ .end ())
109+ || (*candidate != value);
110+ };
111+
112+ const auto & node_pressures = eclState.getRestartNetworkPressures ();
113+ if (node_pressures.has_value ()) {
114+ this ->node_pressures_ = node_pressures.value ();
115+ }
111116}
112117
113118int
0 commit comments