mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
The computations made to check the convergence are the same for all existing phases. Therefore this patch uses loops over the phase indices when cmputing them, In the convergence check there are several reductions (maxCoeff(), sum()) that will trigger communication in a parallel run. This patch seperates the reductions from the other computations. The idea is to one reduction for the reductions that need to done as global communication is expensive. |
||
---|---|---|
.. | ||
autodiff |