opm-simulators/opm
Markus Blatt 89ec35e0d2 Make BlackoilWellModel::hasTHPConstraints() work correctly in parallel.
Previously, this method did not take parallelism into account but just
checked the local wells for the constraints. Depending on the load balancing
of the wells this sometimes led to different return values of the function on different
processors. As the output is used to limit the time step size, different processors
were sometimes using different time steps in their local computations. This screwed
up convergence checks int the nonlinear operator such that only some processor thought
convergence was already achieved while others wanted to do more iterations.

With this commit the method now returns whether there is any well on any processor
with the constraint being true.
2019-01-14 22:14:01 +01:00
..
autodiff Make BlackoilWellModel::hasTHPConstraints() work correctly in parallel. 2019-01-14 22:14:01 +01:00
core removing DynamicListEconLimited 2019-01-08 11:28:11 +01:00
simulators Use angle brackets for includes 2019-01-08 13:26:19 +01:00