making a trival way to reduce the covergence of the wells.

to be improved later.
This commit is contained in:
Kai Bao 2017-08-02 15:14:54 +02:00
parent 4f716a633d
commit bd84e3c9f3

View File

@ -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_ )
{