mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
added safer but potentially extra calls to update primaryvariables
This commit is contained in:
parent
5181a06219
commit
7de7f13725
@ -845,6 +845,11 @@ namespace Opm
|
||||
DeferredLogger& deferred_logger)
|
||||
{
|
||||
OPM_TIMEFUNCTION();
|
||||
<<<<<<< Updated upstream
|
||||
=======
|
||||
updatePrimaryVariables(simulator, well_state, deferred_logger);
|
||||
initPrimaryVariablesEvaluation();
|
||||
>>>>>>> Stashed changes
|
||||
const bool old_well_operable = this->operability_status_.isOperableAndSolvable();
|
||||
|
||||
if (this->param_.check_well_operability_iter_)
|
||||
@ -1165,6 +1170,7 @@ namespace Opm
|
||||
ws.surface_rates[p] = 0;
|
||||
}
|
||||
ws.thp = 0;
|
||||
updatePrimaryVariables(simulator, well_state, deferred_logger);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1519,6 +1525,7 @@ namespace Opm
|
||||
ws.bhp = controls.bhp_limit;
|
||||
}
|
||||
}
|
||||
updatePrimaryVariables(simulator, well_state, deferred_logger);
|
||||
}
|
||||
|
||||
template<typename TypeTag>
|
||||
|
Loading…
Reference in New Issue
Block a user