mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
performing prepareTimeStep in assemble for StandardWellsDense
instead of model->preppareStep() to avoid segmenttation error from eclSimulator and also not intervening with NonlinearSolver
This commit is contained in:
@@ -130,6 +130,10 @@ namespace Opm {
|
||||
WellState& well_state)
|
||||
{
|
||||
|
||||
if (iterationIdx == 0) {
|
||||
prepareTimeStep(ebosSimulator, well_state);
|
||||
}
|
||||
|
||||
// after restarting, the well_controls can be modified while
|
||||
// the well_state still uses the old control index
|
||||
// we need to synchronize these two.
|
||||
|
||||
Reference in New Issue
Block a user