mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-30 11:06:55 -06:00
making a trival way to reduce the covergence of the wells.
to be improved later.
This commit is contained in:
parent
4f716a633d
commit
bd84e3c9f3
@ -583,6 +583,17 @@ namespace Opm {
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
const auto& grid = ebosSimulator.gridManager().grid();
|
||||
int value = 0;
|
||||
if (converged_well) {
|
||||
value = 1;
|
||||
}
|
||||
if (grid.comm().min(value) < 1) {
|
||||
converged_well = false;
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: to think about the output here.
|
||||
/* if ( terminal_output_ )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user