mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixed: we need to call loadRestartData on all processes
we need to read in group data even if there are no local wells
This commit is contained in:
@@ -204,7 +204,6 @@ initFromRestartFile(const RestartValue& restartValues,
|
||||
this->initializeWellProdIndCalculators();
|
||||
initializeWellPerfData();
|
||||
|
||||
if (! this->wells_ecl_.empty()) {
|
||||
handle_ms_well &= anyMSWellOpenLocal();
|
||||
// Resize for restart step
|
||||
this->wellState().resize(this->wells_ecl_, this->local_parallel_well_info_,
|
||||
@@ -222,10 +221,7 @@ initFromRestartFile(const RestartValue& restartValues,
|
||||
config.model().target(),
|
||||
restartValues.wells,
|
||||
this->guideRate_);
|
||||
}
|
||||
}
|
||||
|
||||
if (config.has_model()) {
|
||||
BlackoilWellModelRestart(*this).loadRestartGuideRates(report_step,
|
||||
config,
|
||||
restartValues.grp_nwrk.groupData,
|
||||
|
||||
Reference in New Issue
Block a user