mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
return well iteration from simulators.
This commit is contained in:
@@ -122,7 +122,8 @@ namespace Opm {
|
||||
/// \param[in] initial_assembly pass true if this is the first call to assemble() in this timestep
|
||||
void assemble(const ReservoirState& reservoir_state,
|
||||
WellState& well_state,
|
||||
const bool initial_assembly);
|
||||
const bool initial_assembly,
|
||||
int& well_iters);
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
@@ -492,7 +492,8 @@ namespace Opm {
|
||||
void
|
||||
BlackoilPolymerModel<Grid>::assemble(const ReservoirState& reservoir_state,
|
||||
WellState& well_state,
|
||||
const bool initial_assembly)
|
||||
const bool initial_assembly,
|
||||
int& well_iters)
|
||||
{
|
||||
using namespace Opm::AutoDiffGrid;
|
||||
|
||||
@@ -537,7 +538,7 @@ namespace Opm {
|
||||
wellModel().extractWellPerfProperties(state, rq_, mob_perfcells, b_perfcells);
|
||||
if (param_.solve_welleq_initially_ && initial_assembly) {
|
||||
// solve the well equations as a pre-processing step
|
||||
Base::solveWellEq(mob_perfcells, b_perfcells, state, well_state);
|
||||
Base::solveWellEq(mob_perfcells, b_perfcells, state, well_state, well_iters);
|
||||
}
|
||||
|
||||
V aliveWells;
|
||||
|
||||
Reference in New Issue
Block a user