mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Ensure default ALQ is set for all production wells on all processes
This commit is contained in:
parent
e548bbfd9d
commit
9dc5272ecc
@ -424,7 +424,9 @@ void WellState<Scalar>::init(const std::vector<Scalar>& cellPressures,
|
||||
}
|
||||
}
|
||||
|
||||
updateWellsDefaultALQ(wells_ecl, summary_state);
|
||||
// ALQ state needs to be defined for all wells, otherwise alqstate.packSize() will be different
|
||||
// on each process, and the comm.sum call in communicateGroupRates will fail.
|
||||
updateWellsDefaultALQ(schedule.getWells(report_step), summary_state);
|
||||
}
|
||||
|
||||
template<class Scalar>
|
||||
|
Loading…
Reference in New Issue
Block a user